{
  "schemaVersion": "2.0",
  "id": 732,
  "name": "@probitas-test/client-http",
  "variant": "project",
  "kind": 1,
  "flags": {},
  "comment": {
    "summary": [
      {
        "kind": "text",
        "text": "HTTP client for [Probitas](https://github.com/probitas-test/probitas) scenario testing framework.\n\nThis package provides an HTTP client designed for integration testing of HTTP APIs.\n\n## Features\n\n- **All HTTP Methods**: Support for GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS\n- **Request Building**: Headers, query parameters, body (JSON, form, multipart)\n- **Response Inspection**: Status codes, headers, cookies, body parsing\n- **Duration Tracking**: Built-in timing for performance monitoring\n- **Resource Management**: Implements "
      },
      {
        "kind": "code",
        "text": "`AsyncDisposable`"
      },
      {
        "kind": "text",
        "text": " for proper cleanup\n\n## Installation\n\n"
      },
      {
        "kind": "code",
        "text": "```bash\nnpm install @probitas-test/client-http\n```"
      },
      {
        "kind": "text",
        "text": "\n\n## Quick Start\n\n"
      },
      {
        "kind": "code",
        "text": "```ts\nimport { createHttpClient } from \"@probitas-test/client-http\";\n\ninterface User {\n  id: string;\n  name: string;\n}\n\nconst http = createHttpClient({ url: \"http://localhost:3000\" });\n\n// GET request\nconst res = await http.get(\"/users/123\");\nconsole.log(\"Status:\", res.status);\n\n// Extract typed data\nconst user = res.json as User;\n\n// POST request\nconst created = await http.post(\"/users\", {\n  headers: { \"Content-Type\": \"application/json\" },\n  body: JSON.stringify({ name: \"Jane\" }),\n});\nconsole.log(\"Created:\", created.status);\n\nawait http.close();\n```"
      },
      {
        "kind": "text",
        "text": "\n\n## Using with "
      },
      {
        "kind": "code",
        "text": "`using`"
      },
      {
        "kind": "text",
        "text": " Statement\n\n"
      },
      {
        "kind": "code",
        "text": "```ts\nimport { createHttpClient } from \"@probitas-test/client-http\";\n\nawait using http = createHttpClient({ url: \"http://localhost:3000\" });\n\nconst res = await http.get(\"/health\");\nconsole.log(\"Health:\", res.ok);\n```"
      },
      {
        "kind": "text",
        "text": "\n\n## Related Packages\n\n| Package | Description |\n|---------|-------------|\n| ["
      },
      {
        "kind": "code",
        "text": "`@probitas-test/client`"
      },
      {
        "kind": "text",
        "text": "](https://www.npmjs.com/package/@probitas-test/client) | Core utilities and types |\n| ["
      },
      {
        "kind": "code",
        "text": "`@probitas-test/client-graphql`"
      },
      {
        "kind": "text",
        "text": "](https://www.npmjs.com/package/@probitas-test/client-graphql) | GraphQL client |\n\n## Links\n\n- [GitHub Repository](https://github.com/probitas-test/probitas-packages)\n- [Probitas Framework](https://github.com/probitas-test/probitas)"
      }
    ]
  },
  "children": [
    {
      "id": 822,
      "name": "HttpError",
      "variant": "declaration",
      "kind": 128,
      "flags": {},
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "HTTP error class for non-2xx responses.\n\nThis error is thrown (or returned in response.error) when the server\nresponds with a 4xx or 5xx status code. It includes the response body\nfor inspecting error details."
          }
        ],
        "blockTags": [
          {
            "tag": "@example",
            "name": "Check status code and body",
            "content": [
              {
                "kind": "code",
                "text": "```ts\nimport { createHttpClient, HttpError } from \"@probitas-test/client-http\";\n\nconst http = createHttpClient({ url: \"http://localhost:3000\", throwOnError: true });\ntry {\n  await http.get(\"/not-found\");\n} catch (error) {\n  if (error instanceof HttpError && error.status === 404) {\n    console.log(\"Not found:\", error.text);\n  }\n}\n```"
              }
            ]
          }
        ]
      },
      "children": [
        {
          "id": 823,
          "name": "constructor",
          "variant": "declaration",
          "kind": 512,
          "flags": {},
          "signatures": [
            {
              "id": 824,
              "name": "HttpError",
              "variant": "signature",
              "kind": 16384,
              "flags": {},
              "parameters": [
                {
                  "id": 825,
                  "name": "status",
                  "variant": "param",
                  "kind": 32768,
                  "flags": {},
                  "type": {
                    "type": "intrinsic",
                    "name": "number"
                  }
                },
                {
                  "id": 826,
                  "name": "statusText",
                  "variant": "param",
                  "kind": 32768,
                  "flags": {},
                  "type": {
                    "type": "intrinsic",
                    "name": "string"
                  }
                },
                {
                  "id": 827,
                  "name": "options",
                  "variant": "param",
                  "kind": 32768,
                  "flags": {
                    "isOptional": true
                  },
                  "type": {
                    "type": "reference",
                    "target": 819,
                    "name": "HttpErrorOptions",
                    "package": "@probitas-test/client-http"
                  }
                }
              ],
              "type": {
                "type": "reference",
                "target": 822,
                "name": "HttpError",
                "package": "@probitas-test/client-http"
              },
              "overwrites": {
                "type": "reference",
                "target": -1,
                "name": "ClientError.constructor",
                "package": "@probitas-test/client"
              }
            }
          ],
          "overwrites": {
            "type": "reference",
            "target": -1,
            "name": "ClientError.constructor",
            "package": "@probitas-test/client"
          }
        },
        {
          "id": 832,
          "name": "headers",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Response headers (null if not available)"
              }
            ]
          },
          "type": {
            "type": "union",
            "types": [
              {
                "type": "reference",
                "target": {
                  "packageName": "typescript",
                  "packagePath": "lib/lib.dom.d.ts",
                  "qualifiedName": "Headers"
                },
                "name": "Headers",
                "package": "typescript"
              },
              {
                "type": "literal",
                "value": null
              }
            ]
          }
        },
        {
          "id": 829,
          "name": "kind",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true
          },
          "type": {
            "type": "literal",
            "value": "http"
          },
          "defaultValue": "...",
          "overwrites": {
            "type": "reference",
            "target": -1,
            "name": "ClientError.kind"
          }
        },
        {
          "id": 828,
          "name": "name",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true
          },
          "type": {
            "type": "intrinsic",
            "name": "string"
          },
          "defaultValue": "\"HttpError\"",
          "overwrites": {
            "type": "reference",
            "target": -1,
            "name": "ClientError.name"
          }
        },
        {
          "id": 830,
          "name": "status",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "HTTP status code"
              }
            ]
          },
          "type": {
            "type": "intrinsic",
            "name": "number"
          }
        },
        {
          "id": 831,
          "name": "statusText",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "HTTP status text"
              }
            ]
          },
          "type": {
            "type": "intrinsic",
            "name": "string"
          }
        },
        {
          "id": 836,
          "name": "arrayBuffer",
          "variant": "declaration",
          "kind": 262144,
          "flags": {},
          "getSignature": {
            "id": 837,
            "name": "arrayBuffer",
            "variant": "signature",
            "kind": 524288,
            "flags": {},
            "comment": {
              "summary": [
                {
                  "kind": "text",
                  "text": "Get body as ArrayBuffer (null if no body)"
                }
              ]
            },
            "type": {
              "type": "union",
              "types": [
                {
                  "type": "reference",
                  "target": {
                    "packageName": "typescript",
                    "packagePath": "lib/lib.es5.d.ts",
                    "qualifiedName": "ArrayBuffer"
                  },
                  "name": "ArrayBuffer",
                  "package": "typescript"
                },
                {
                  "type": "literal",
                  "value": null
                }
              ]
            }
          }
        },
        {
          "id": 838,
          "name": "blob",
          "variant": "declaration",
          "kind": 262144,
          "flags": {},
          "getSignature": {
            "id": 839,
            "name": "blob",
            "variant": "signature",
            "kind": 524288,
            "flags": {},
            "comment": {
              "summary": [
                {
                  "kind": "text",
                  "text": "Get body as Blob (null if no body)"
                }
              ]
            },
            "type": {
              "type": "union",
              "types": [
                {
                  "type": "reference",
                  "target": {
                    "packageName": "typescript",
                    "packagePath": "lib/lib.dom.d.ts",
                    "qualifiedName": "Blob"
                  },
                  "name": "Blob",
                  "package": "typescript"
                },
                {
                  "type": "literal",
                  "value": null
                }
              ]
            }
          }
        },
        {
          "id": 834,
          "name": "body",
          "variant": "declaration",
          "kind": 262144,
          "flags": {},
          "getSignature": {
            "id": 835,
            "name": "body",
            "variant": "signature",
            "kind": 524288,
            "flags": {},
            "comment": {
              "summary": [
                {
                  "kind": "text",
                  "text": "Response body as raw bytes (null if no body)"
                }
              ]
            },
            "type": {
              "type": "union",
              "types": [
                {
                  "type": "reference",
                  "target": {
                    "packageName": "typescript",
                    "packagePath": "lib/lib.es5.d.ts",
                    "qualifiedName": "Uint8Array"
                  },
                  "typeArguments": [
                    {
                      "type": "reference",
                      "target": {
                        "packageName": "typescript",
                        "packagePath": "lib/lib.es5.d.ts",
                        "qualifiedName": "ArrayBufferLike"
                      },
                      "name": "ArrayBufferLike",
                      "package": "typescript"
                    }
                  ],
                  "name": "Uint8Array",
                  "package": "typescript"
                },
                {
                  "type": "literal",
                  "value": null
                }
              ]
            }
          }
        },
        {
          "id": 842,
          "name": "json",
          "variant": "declaration",
          "kind": 262144,
          "flags": {},
          "getSignature": {
            "id": 843,
            "name": "json",
            "variant": "signature",
            "kind": 524288,
            "flags": {},
            "comment": {
              "summary": [
                {
                  "kind": "text",
                  "text": "Get body as parsed JSON (null if no body)."
                }
              ],
              "blockTags": [
                {
                  "tag": "@throws",
                  "content": [
                    {
                      "kind": "text",
                      "text": "SyntaxError if body is not valid JSON"
                    }
                  ]
                }
              ]
            },
            "type": {
              "type": "intrinsic",
              "name": "unknown"
            }
          }
        },
        {
          "id": 840,
          "name": "text",
          "variant": "declaration",
          "kind": 262144,
          "flags": {},
          "getSignature": {
            "id": 841,
            "name": "text",
            "variant": "signature",
            "kind": 524288,
            "flags": {},
            "comment": {
              "summary": [
                {
                  "kind": "text",
                  "text": "Get body as text (null if no body)"
                }
              ]
            },
            "type": {
              "type": "union",
              "types": [
                {
                  "type": "intrinsic",
                  "name": "string"
                },
                {
                  "type": "literal",
                  "value": null
                }
              ]
            }
          }
        }
      ],
      "extendedTypes": [
        {
          "type": "reference",
          "target": {
            "packageName": "@probitas-test/client",
            "packagePath": "dist/errors.d.ts",
            "qualifiedName": "ClientError"
          },
          "name": "ClientError",
          "package": "@probitas-test/client"
        }
      ]
    },
    {
      "id": 844,
      "name": "HttpNetworkError",
      "variant": "declaration",
      "kind": 128,
      "flags": {},
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Error thrown when a network-level failure occurs.\n\nThis error indicates that the request could not be processed by the server\ndue to network issues (connection refused, DNS resolution failure, etc.)."
          }
        ]
      },
      "children": [
        {
          "id": 845,
          "name": "constructor",
          "variant": "declaration",
          "kind": 512,
          "flags": {},
          "signatures": [
            {
              "id": 846,
              "name": "HttpNetworkError",
              "variant": "signature",
              "kind": 16384,
              "flags": {},
              "parameters": [
                {
                  "id": 847,
                  "name": "message",
                  "variant": "param",
                  "kind": 32768,
                  "flags": {},
                  "type": {
                    "type": "intrinsic",
                    "name": "string"
                  }
                },
                {
                  "id": 848,
                  "name": "options",
                  "variant": "param",
                  "kind": 32768,
                  "flags": {
                    "isOptional": true
                  },
                  "type": {
                    "type": "reference",
                    "target": {
                      "packageName": "typescript",
                      "packagePath": "lib/lib.es2022.error.d.ts",
                      "qualifiedName": "ErrorOptions"
                    },
                    "name": "ErrorOptions",
                    "package": "typescript"
                  }
                }
              ],
              "type": {
                "type": "reference",
                "target": 844,
                "name": "HttpNetworkError",
                "package": "@probitas-test/client-http"
              },
              "overwrites": {
                "type": "reference",
                "target": -1,
                "name": "ClientError.constructor",
                "package": "@probitas-test/client"
              }
            }
          ],
          "overwrites": {
            "type": "reference",
            "target": -1,
            "name": "ClientError.constructor",
            "package": "@probitas-test/client"
          }
        },
        {
          "id": 850,
          "name": "kind",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true
          },
          "type": {
            "type": "literal",
            "value": "network"
          },
          "defaultValue": "...",
          "overwrites": {
            "type": "reference",
            "target": -1,
            "name": "ClientError.kind"
          }
        },
        {
          "id": 849,
          "name": "name",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true
          },
          "type": {
            "type": "literal",
            "value": "HttpNetworkError"
          },
          "defaultValue": "\"HttpNetworkError\"",
          "overwrites": {
            "type": "reference",
            "target": -1,
            "name": "ClientError.name"
          }
        }
      ],
      "extendedTypes": [
        {
          "type": "reference",
          "target": {
            "packageName": "@probitas-test/client",
            "packagePath": "dist/errors.d.ts",
            "qualifiedName": "ClientError"
          },
          "name": "ClientError",
          "package": "@probitas-test/client"
        }
      ]
    },
    {
      "id": 754,
      "name": "CookieConfig",
      "variant": "declaration",
      "kind": 256,
      "flags": {},
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Cookie handling configuration."
          }
        ]
      },
      "children": [
        {
          "id": 755,
          "name": "disabled",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isOptional": true,
            "isReadonly": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Disable automatic cookie handling.\nWhen disabled, cookies are not stored or sent automatically."
              }
            ],
            "blockTags": [
              {
                "tag": "@default",
                "content": [
                  {
                    "kind": "code",
                    "text": "```ts\nfalse\n```"
                  }
                ]
              }
            ]
          },
          "type": {
            "type": "intrinsic",
            "name": "boolean"
          }
        },
        {
          "id": 756,
          "name": "initial",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isOptional": true,
            "isReadonly": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Initial cookies to populate the cookie jar."
              }
            ]
          },
          "type": {
            "type": "reference",
            "target": {
              "packageName": "typescript",
              "packagePath": "lib/lib.es5.d.ts",
              "qualifiedName": "Record"
            },
            "typeArguments": [
              {
                "type": "intrinsic",
                "name": "string"
              },
              {
                "type": "intrinsic",
                "name": "string"
              }
            ],
            "name": "Record",
            "package": "typescript"
          }
        }
      ]
    },
    {
      "id": 774,
      "name": "HttpClient",
      "variant": "declaration",
      "kind": 256,
      "flags": {},
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "HTTP client interface."
          }
        ]
      },
      "children": [
        {
          "id": 775,
          "name": "config",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Client configuration"
              }
            ]
          },
          "type": {
            "type": "reference",
            "target": 764,
            "name": "HttpClientConfig",
            "package": "@probitas-test/client-http"
          }
        },
        {
          "id": 815,
          "name": "clearCookies",
          "variant": "declaration",
          "kind": 2048,
          "flags": {},
          "signatures": [
            {
              "id": 816,
              "name": "clearCookies",
              "variant": "signature",
              "kind": 4096,
              "flags": {},
              "comment": {
                "summary": [
                  {
                    "kind": "text",
                    "text": "Clear all cookies from the cookie jar.\nNo-op if cookies are disabled."
                  }
                ]
              },
              "type": {
                "type": "intrinsic",
                "name": "void"
              }
            }
          ]
        },
        {
          "id": 817,
          "name": "close",
          "variant": "declaration",
          "kind": 2048,
          "flags": {},
          "signatures": [
            {
              "id": 818,
              "name": "close",
              "variant": "signature",
              "kind": 4096,
              "flags": {},
              "comment": {
                "summary": [
                  {
                    "kind": "text",
                    "text": "Close the client and release resources"
                  }
                ]
              },
              "type": {
                "type": "reference",
                "target": {
                  "packageName": "typescript",
                  "packagePath": "lib/lib.es5.d.ts",
                  "qualifiedName": "Promise"
                },
                "typeArguments": [
                  {
                    "type": "intrinsic",
                    "name": "void"
                  }
                ],
                "name": "Promise",
                "package": "typescript"
              }
            }
          ]
        },
        {
          "id": 796,
          "name": "delete",
          "variant": "declaration",
          "kind": 2048,
          "flags": {},
          "signatures": [
            {
              "id": 797,
              "name": "delete",
              "variant": "signature",
              "kind": 4096,
              "flags": {},
              "comment": {
                "summary": [
                  {
                    "kind": "text",
                    "text": "Send DELETE request"
                  }
                ]
              },
              "parameters": [
                {
                  "id": 798,
                  "name": "path",
                  "variant": "param",
                  "kind": 32768,
                  "flags": {},
                  "type": {
                    "type": "intrinsic",
                    "name": "string"
                  }
                },
                {
                  "id": 799,
                  "name": "options",
                  "variant": "param",
                  "kind": 32768,
                  "flags": {
                    "isOptional": true
                  },
                  "type": {
                    "type": "reference",
                    "target": 745,
                    "name": "HttpRequestOptions",
                    "package": "@probitas-test/client-http"
                  }
                }
              ],
              "type": {
                "type": "reference",
                "target": {
                  "packageName": "typescript",
                  "packagePath": "lib/lib.es5.d.ts",
                  "qualifiedName": "Promise"
                },
                "typeArguments": [
                  {
                    "type": "reference",
                    "target": 939,
                    "name": "HttpResponse",
                    "package": "@probitas-test/client-http"
                  }
                ],
                "name": "Promise",
                "package": "typescript"
              }
            }
          ]
        },
        {
          "id": 776,
          "name": "get",
          "variant": "declaration",
          "kind": 2048,
          "flags": {},
          "signatures": [
            {
              "id": 777,
              "name": "get",
              "variant": "signature",
              "kind": 4096,
              "flags": {},
              "comment": {
                "summary": [
                  {
                    "kind": "text",
                    "text": "Send GET request"
                  }
                ]
              },
              "parameters": [
                {
                  "id": 778,
                  "name": "path",
                  "variant": "param",
                  "kind": 32768,
                  "flags": {},
                  "type": {
                    "type": "intrinsic",
                    "name": "string"
                  }
                },
                {
                  "id": 779,
                  "name": "options",
                  "variant": "param",
                  "kind": 32768,
                  "flags": {
                    "isOptional": true
                  },
                  "type": {
                    "type": "reference",
                    "target": 737,
                    "name": "HttpOptions",
                    "package": "@probitas-test/client-http"
                  }
                }
              ],
              "type": {
                "type": "reference",
                "target": {
                  "packageName": "typescript",
                  "packagePath": "lib/lib.es5.d.ts",
                  "qualifiedName": "Promise"
                },
                "typeArguments": [
                  {
                    "type": "reference",
                    "target": 939,
                    "name": "HttpResponse",
                    "package": "@probitas-test/client-http"
                  }
                ],
                "name": "Promise",
                "package": "typescript"
              }
            }
          ]
        },
        {
          "id": 809,
          "name": "getCookies",
          "variant": "declaration",
          "kind": 2048,
          "flags": {},
          "signatures": [
            {
              "id": 810,
              "name": "getCookies",
              "variant": "signature",
              "kind": 4096,
              "flags": {},
              "comment": {
                "summary": [
                  {
                    "kind": "text",
                    "text": "Get all cookies in the cookie jar.\nReturns empty object if cookies are disabled."
                  }
                ]
              },
              "type": {
                "type": "reference",
                "target": {
                  "packageName": "typescript",
                  "packagePath": "lib/lib.es5.d.ts",
                  "qualifiedName": "Record"
                },
                "typeArguments": [
                  {
                    "type": "intrinsic",
                    "name": "string"
                  },
                  {
                    "type": "intrinsic",
                    "name": "string"
                  }
                ],
                "name": "Record",
                "package": "typescript"
              }
            }
          ]
        },
        {
          "id": 780,
          "name": "head",
          "variant": "declaration",
          "kind": 2048,
          "flags": {},
          "signatures": [
            {
              "id": 781,
              "name": "head",
              "variant": "signature",
              "kind": 4096,
              "flags": {},
              "comment": {
                "summary": [
                  {
                    "kind": "text",
                    "text": "Send HEAD request"
                  }
                ]
              },
              "parameters": [
                {
                  "id": 782,
                  "name": "path",
                  "variant": "param",
                  "kind": 32768,
                  "flags": {},
                  "type": {
                    "type": "intrinsic",
                    "name": "string"
                  }
                },
                {
                  "id": 783,
                  "name": "options",
                  "variant": "param",
                  "kind": 32768,
                  "flags": {
                    "isOptional": true
                  },
                  "type": {
                    "type": "reference",
                    "target": 737,
                    "name": "HttpOptions",
                    "package": "@probitas-test/client-http"
                  }
                }
              ],
              "type": {
                "type": "reference",
                "target": {
                  "packageName": "typescript",
                  "packagePath": "lib/lib.es5.d.ts",
                  "qualifiedName": "Promise"
                },
                "typeArguments": [
                  {
                    "type": "reference",
                    "target": 939,
                    "name": "HttpResponse",
                    "package": "@probitas-test/client-http"
                  }
                ],
                "name": "Promise",
                "package": "typescript"
              }
            }
          ]
        },
        {
          "id": 800,
          "name": "options",
          "variant": "declaration",
          "kind": 2048,
          "flags": {},
          "signatures": [
            {
              "id": 801,
              "name": "options",
              "variant": "signature",
              "kind": 4096,
              "flags": {},
              "comment": {
                "summary": [
                  {
                    "kind": "text",
                    "text": "Send OPTIONS request"
                  }
                ]
              },
              "parameters": [
                {
                  "id": 802,
                  "name": "path",
                  "variant": "param",
                  "kind": 32768,
                  "flags": {},
                  "type": {
                    "type": "intrinsic",
                    "name": "string"
                  }
                },
                {
                  "id": 803,
                  "name": "options",
                  "variant": "param",
                  "kind": 32768,
                  "flags": {
                    "isOptional": true
                  },
                  "type": {
                    "type": "reference",
                    "target": 737,
                    "name": "HttpOptions",
                    "package": "@probitas-test/client-http"
                  }
                }
              ],
              "type": {
                "type": "reference",
                "target": {
                  "packageName": "typescript",
                  "packagePath": "lib/lib.es5.d.ts",
                  "qualifiedName": "Promise"
                },
                "typeArguments": [
                  {
                    "type": "reference",
                    "target": 939,
                    "name": "HttpResponse",
                    "package": "@probitas-test/client-http"
                  }
                ],
                "name": "Promise",
                "package": "typescript"
              }
            }
          ]
        },
        {
          "id": 792,
          "name": "patch",
          "variant": "declaration",
          "kind": 2048,
          "flags": {},
          "signatures": [
            {
              "id": 793,
              "name": "patch",
              "variant": "signature",
              "kind": 4096,
              "flags": {},
              "comment": {
                "summary": [
                  {
                    "kind": "text",
                    "text": "Send PATCH request"
                  }
                ]
              },
              "parameters": [
                {
                  "id": 794,
                  "name": "path",
                  "variant": "param",
                  "kind": 32768,
                  "flags": {},
                  "type": {
                    "type": "intrinsic",
                    "name": "string"
                  }
                },
                {
                  "id": 795,
                  "name": "options",
                  "variant": "param",
                  "kind": 32768,
                  "flags": {
                    "isOptional": true
                  },
                  "type": {
                    "type": "reference",
                    "target": 745,
                    "name": "HttpRequestOptions",
                    "package": "@probitas-test/client-http"
                  }
                }
              ],
              "type": {
                "type": "reference",
                "target": {
                  "packageName": "typescript",
                  "packagePath": "lib/lib.es5.d.ts",
                  "qualifiedName": "Promise"
                },
                "typeArguments": [
                  {
                    "type": "reference",
                    "target": 939,
                    "name": "HttpResponse",
                    "package": "@probitas-test/client-http"
                  }
                ],
                "name": "Promise",
                "package": "typescript"
              }
            }
          ]
        },
        {
          "id": 784,
          "name": "post",
          "variant": "declaration",
          "kind": 2048,
          "flags": {},
          "signatures": [
            {
              "id": 785,
              "name": "post",
              "variant": "signature",
              "kind": 4096,
              "flags": {},
              "comment": {
                "summary": [
                  {
                    "kind": "text",
                    "text": "Send POST request"
                  }
                ]
              },
              "parameters": [
                {
                  "id": 786,
                  "name": "path",
                  "variant": "param",
                  "kind": 32768,
                  "flags": {},
                  "type": {
                    "type": "intrinsic",
                    "name": "string"
                  }
                },
                {
                  "id": 787,
                  "name": "options",
                  "variant": "param",
                  "kind": 32768,
                  "flags": {
                    "isOptional": true
                  },
                  "type": {
                    "type": "reference",
                    "target": 745,
                    "name": "HttpRequestOptions",
                    "package": "@probitas-test/client-http"
                  }
                }
              ],
              "type": {
                "type": "reference",
                "target": {
                  "packageName": "typescript",
                  "packagePath": "lib/lib.es5.d.ts",
                  "qualifiedName": "Promise"
                },
                "typeArguments": [
                  {
                    "type": "reference",
                    "target": 939,
                    "name": "HttpResponse",
                    "package": "@probitas-test/client-http"
                  }
                ],
                "name": "Promise",
                "package": "typescript"
              }
            }
          ]
        },
        {
          "id": 788,
          "name": "put",
          "variant": "declaration",
          "kind": 2048,
          "flags": {},
          "signatures": [
            {
              "id": 789,
              "name": "put",
              "variant": "signature",
              "kind": 4096,
              "flags": {},
              "comment": {
                "summary": [
                  {
                    "kind": "text",
                    "text": "Send PUT request"
                  }
                ]
              },
              "parameters": [
                {
                  "id": 790,
                  "name": "path",
                  "variant": "param",
                  "kind": 32768,
                  "flags": {},
                  "type": {
                    "type": "intrinsic",
                    "name": "string"
                  }
                },
                {
                  "id": 791,
                  "name": "options",
                  "variant": "param",
                  "kind": 32768,
                  "flags": {
                    "isOptional": true
                  },
                  "type": {
                    "type": "reference",
                    "target": 745,
                    "name": "HttpRequestOptions",
                    "package": "@probitas-test/client-http"
                  }
                }
              ],
              "type": {
                "type": "reference",
                "target": {
                  "packageName": "typescript",
                  "packagePath": "lib/lib.es5.d.ts",
                  "qualifiedName": "Promise"
                },
                "typeArguments": [
                  {
                    "type": "reference",
                    "target": 939,
                    "name": "HttpResponse",
                    "package": "@probitas-test/client-http"
                  }
                ],
                "name": "Promise",
                "package": "typescript"
              }
            }
          ]
        },
        {
          "id": 804,
          "name": "request",
          "variant": "declaration",
          "kind": 2048,
          "flags": {},
          "signatures": [
            {
              "id": 805,
              "name": "request",
              "variant": "signature",
              "kind": 4096,
              "flags": {},
              "comment": {
                "summary": [
                  {
                    "kind": "text",
                    "text": "Send request with arbitrary method"
                  }
                ]
              },
              "parameters": [
                {
                  "id": 806,
                  "name": "method",
                  "variant": "param",
                  "kind": 32768,
                  "flags": {},
                  "type": {
                    "type": "intrinsic",
                    "name": "string"
                  }
                },
                {
                  "id": 807,
                  "name": "path",
                  "variant": "param",
                  "kind": 32768,
                  "flags": {},
                  "type": {
                    "type": "intrinsic",
                    "name": "string"
                  }
                },
                {
                  "id": 808,
                  "name": "options",
                  "variant": "param",
                  "kind": 32768,
                  "flags": {
                    "isOptional": true
                  },
                  "type": {
                    "type": "reference",
                    "target": 745,
                    "name": "HttpRequestOptions",
                    "package": "@probitas-test/client-http"
                  }
                }
              ],
              "type": {
                "type": "reference",
                "target": {
                  "packageName": "typescript",
                  "packagePath": "lib/lib.es5.d.ts",
                  "qualifiedName": "Promise"
                },
                "typeArguments": [
                  {
                    "type": "reference",
                    "target": 939,
                    "name": "HttpResponse",
                    "package": "@probitas-test/client-http"
                  }
                ],
                "name": "Promise",
                "package": "typescript"
              }
            }
          ]
        },
        {
          "id": 811,
          "name": "setCookie",
          "variant": "declaration",
          "kind": 2048,
          "flags": {},
          "signatures": [
            {
              "id": 812,
              "name": "setCookie",
              "variant": "signature",
              "kind": 4096,
              "flags": {},
              "comment": {
                "summary": [
                  {
                    "kind": "text",
                    "text": "Set a cookie in the cookie jar."
                  }
                ],
                "blockTags": [
                  {
                    "tag": "@throws",
                    "content": [
                      {
                        "kind": "text",
                        "text": "Error if cookies are disabled"
                      }
                    ]
                  }
                ]
              },
              "parameters": [
                {
                  "id": 813,
                  "name": "name",
                  "variant": "param",
                  "kind": 32768,
                  "flags": {},
                  "type": {
                    "type": "intrinsic",
                    "name": "string"
                  }
                },
                {
                  "id": 814,
                  "name": "value",
                  "variant": "param",
                  "kind": 32768,
                  "flags": {},
                  "type": {
                    "type": "intrinsic",
                    "name": "string"
                  }
                }
              ],
              "type": {
                "type": "intrinsic",
                "name": "void"
              }
            }
          ]
        }
      ],
      "extendedTypes": [
        {
          "type": "reference",
          "target": {
            "packageName": "typescript",
            "packagePath": "lib/lib.esnext.disposable.d.ts",
            "qualifiedName": "AsyncDisposable"
          },
          "name": "AsyncDisposable",
          "package": "typescript"
        }
      ]
    },
    {
      "id": 764,
      "name": "HttpClientConfig",
      "variant": "declaration",
      "kind": 256,
      "flags": {},
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "HTTP client configuration."
          }
        ]
      },
      "children": [
        {
          "id": 770,
          "name": "cookies",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isOptional": true,
            "isReadonly": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Cookie handling configuration.\nBy default, the client maintains a cookie jar for automatic\ncookie management across requests.\nSet "
              },
              {
                "kind": "code",
                "text": "`cookies: { disabled: true }`"
              },
              {
                "kind": "text",
                "text": " to disable."
              }
            ]
          },
          "type": {
            "type": "reference",
            "target": 754,
            "name": "CookieConfig",
            "package": "@probitas-test/client-http"
          }
        },
        {
          "id": 767,
          "name": "fetch",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isOptional": true,
            "isReadonly": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Custom fetch implementation (for testing/mocking)"
              }
            ]
          },
          "type": {
            "type": "reference",
            "target": {
              "packageName": "@probitas-test/client",
              "packagePath": "dist/types.d.ts",
              "qualifiedName": "Fetch"
            },
            "name": "Fetch",
            "package": "@probitas-test/client"
          }
        },
        {
          "id": 766,
          "name": "headers",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isOptional": true,
            "isReadonly": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Default headers for all requests"
              }
            ]
          },
          "type": {
            "type": "reference",
            "target": {
              "packageName": "typescript",
              "packagePath": "lib/lib.dom.d.ts",
              "qualifiedName": "HeadersInit"
            },
            "name": "HeadersInit",
            "package": "typescript"
          }
        },
        {
          "id": 768,
          "name": "redirect",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isOptional": true,
            "isReadonly": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Default redirect handling mode.\nCan be overridden per-request via HttpOptions."
              }
            ],
            "blockTags": [
              {
                "tag": "@default",
                "content": [
                  {
                    "kind": "code",
                    "text": "```ts\n\"follow\"\n```"
                  }
                ]
              }
            ]
          },
          "type": {
            "type": "reference",
            "target": 735,
            "name": "RedirectMode",
            "package": "@probitas-test/client-http"
          }
        },
        {
          "id": 773,
          "name": "retry",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isOptional": true,
            "isReadonly": true,
            "isInherited": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Retry configuration."
              }
            ]
          },
          "type": {
            "type": "reference",
            "target": {
              "packageName": "@probitas-test/client",
              "packagePath": "dist/types.d.ts",
              "qualifiedName": "RetryOptions"
            },
            "name": "RetryOptions",
            "package": "@probitas-test/client"
          },
          "inheritedFrom": {
            "type": "reference",
            "target": -1,
            "name": "CommonOptions.retry"
          }
        },
        {
          "id": 772,
          "name": "signal",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isOptional": true,
            "isReadonly": true,
            "isInherited": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "AbortSignal for cancellation."
              }
            ]
          },
          "type": {
            "type": "reference",
            "target": {
              "packageName": "typescript",
              "packagePath": "lib/lib.dom.d.ts",
              "qualifiedName": "AbortSignal"
            },
            "name": "AbortSignal",
            "package": "typescript"
          },
          "inheritedFrom": {
            "type": "reference",
            "target": -1,
            "name": "CommonOptions.signal"
          }
        },
        {
          "id": 769,
          "name": "throwOnError",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isOptional": true,
            "isReadonly": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Whether to throw HttpError for non-2xx responses.\nCan be overridden per-request via HttpOptions."
              }
            ],
            "blockTags": [
              {
                "tag": "@default",
                "content": [
                  {
                    "kind": "code",
                    "text": "```ts\nfalse\n```"
                  }
                ]
              }
            ]
          },
          "type": {
            "type": "intrinsic",
            "name": "boolean"
          }
        },
        {
          "id": 771,
          "name": "timeout",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isOptional": true,
            "isReadonly": true,
            "isInherited": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Timeout in milliseconds."
              }
            ]
          },
          "type": {
            "type": "intrinsic",
            "name": "number"
          },
          "inheritedFrom": {
            "type": "reference",
            "target": -1,
            "name": "CommonOptions.timeout"
          }
        },
        {
          "id": 765,
          "name": "url",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Base URL for all requests.\n\nCan be a URL string or a connection configuration object."
              }
            ],
            "blockTags": [
              {
                "tag": "@example",
                "name": "String URL",
                "content": [
                  {
                    "kind": "code",
                    "text": "```ts\nimport type { HttpClientConfig } from \"@probitas-test/client-http\";\nconst config: HttpClientConfig = { url: \"http://localhost:3000\" };\n```"
                  }
                ]
              },
              {
                "tag": "@example",
                "name": "Connection config object",
                "content": [
                  {
                    "kind": "code",
                    "text": "```ts\nimport type { HttpClientConfig } from \"@probitas-test/client-http\";\nconst config: HttpClientConfig = {\n  url: { host: \"api.example.com\", port: 443, protocol: \"https\" },\n};\n```"
                  }
                ]
              }
            ]
          },
          "type": {
            "type": "union",
            "types": [
              {
                "type": "intrinsic",
                "name": "string"
              },
              {
                "type": "reference",
                "target": 757,
                "name": "HttpConnectionConfig",
                "package": "@probitas-test/client-http"
              }
            ]
          }
        }
      ],
      "extendedTypes": [
        {
          "type": "reference",
          "target": {
            "packageName": "@probitas-test/client",
            "packagePath": "dist/types.d.ts",
            "qualifiedName": "CommonOptions"
          },
          "name": "CommonOptions",
          "package": "@probitas-test/client"
        }
      ]
    },
    {
      "id": 757,
      "name": "HttpConnectionConfig",
      "variant": "declaration",
      "kind": 256,
      "flags": {},
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "HTTP connection configuration.\n\nExtends CommonConnectionConfig with HTTP-specific options."
          }
        ]
      },
      "children": [
        {
          "id": 760,
          "name": "host",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isOptional": true,
            "isReadonly": true,
            "isInherited": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Hostname or IP address."
              }
            ],
            "blockTags": [
              {
                "tag": "@default",
                "content": [
                  {
                    "kind": "code",
                    "text": "```ts\n\"localhost\"\n```"
                  }
                ]
              }
            ]
          },
          "type": {
            "type": "intrinsic",
            "name": "string"
          },
          "inheritedFrom": {
            "type": "reference",
            "target": -1,
            "name": "CommonConnectionConfig.host"
          }
        },
        {
          "id": 763,
          "name": "password",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isOptional": true,
            "isReadonly": true,
            "isInherited": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Password for authentication."
              }
            ]
          },
          "type": {
            "type": "intrinsic",
            "name": "string"
          },
          "inheritedFrom": {
            "type": "reference",
            "target": -1,
            "name": "CommonConnectionConfig.password"
          }
        },
        {
          "id": 759,
          "name": "path",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isOptional": true,
            "isReadonly": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Base path prefix for all requests."
              }
            ],
            "blockTags": [
              {
                "tag": "@default",
                "content": [
                  {
                    "kind": "code",
                    "text": "```ts\n\"\"\n```"
                  }
                ]
              }
            ]
          },
          "type": {
            "type": "intrinsic",
            "name": "string"
          }
        },
        {
          "id": 761,
          "name": "port",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isOptional": true,
            "isReadonly": true,
            "isInherited": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Port number. Each service has its own default."
              }
            ]
          },
          "type": {
            "type": "intrinsic",
            "name": "number"
          },
          "inheritedFrom": {
            "type": "reference",
            "target": -1,
            "name": "CommonConnectionConfig.port"
          }
        },
        {
          "id": 758,
          "name": "protocol",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isOptional": true,
            "isReadonly": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Protocol to use."
              }
            ],
            "blockTags": [
              {
                "tag": "@default",
                "content": [
                  {
                    "kind": "code",
                    "text": "```ts\n\"http\"\n```"
                  }
                ]
              }
            ]
          },
          "type": {
            "type": "union",
            "types": [
              {
                "type": "literal",
                "value": "http"
              },
              {
                "type": "literal",
                "value": "https"
              }
            ]
          }
        },
        {
          "id": 762,
          "name": "username",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isOptional": true,
            "isReadonly": true,
            "isInherited": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Username for authentication."
              }
            ]
          },
          "type": {
            "type": "intrinsic",
            "name": "string"
          },
          "inheritedFrom": {
            "type": "reference",
            "target": -1,
            "name": "CommonConnectionConfig.username"
          }
        }
      ],
      "extendedTypes": [
        {
          "type": "reference",
          "target": {
            "packageName": "@probitas-test/client",
            "packagePath": "dist/types.d.ts",
            "qualifiedName": "CommonConnectionConfig"
          },
          "name": "CommonConnectionConfig",
          "package": "@probitas-test/client"
        }
      ]
    },
    {
      "id": 819,
      "name": "HttpErrorOptions",
      "variant": "declaration",
      "kind": 256,
      "flags": {},
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Options for creating an HttpError."
          }
        ]
      },
      "children": [
        {
          "id": 820,
          "name": "body",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isOptional": true,
            "isReadonly": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Response body as raw bytes"
              }
            ]
          },
          "type": {
            "type": "union",
            "types": [
              {
                "type": "reference",
                "target": {
                  "packageName": "typescript",
                  "packagePath": "lib/lib.es5.d.ts",
                  "qualifiedName": "Uint8Array"
                },
                "typeArguments": [
                  {
                    "type": "reference",
                    "target": {
                      "packageName": "typescript",
                      "packagePath": "lib/lib.es5.d.ts",
                      "qualifiedName": "ArrayBufferLike"
                    },
                    "name": "ArrayBufferLike",
                    "package": "typescript"
                  }
                ],
                "name": "Uint8Array",
                "package": "typescript"
              },
              {
                "type": "literal",
                "value": null
              }
            ]
          }
        },
        {
          "id": 821,
          "name": "headers",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isOptional": true,
            "isReadonly": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Response headers"
              }
            ]
          },
          "type": {
            "type": "union",
            "types": [
              {
                "type": "reference",
                "target": {
                  "packageName": "typescript",
                  "packagePath": "lib/lib.dom.d.ts",
                  "qualifiedName": "Headers"
                },
                "name": "Headers",
                "package": "typescript"
              },
              {
                "type": "literal",
                "value": null
              }
            ]
          }
        }
      ],
      "extendedTypes": [
        {
          "type": "reference",
          "target": {
            "packageName": "typescript",
            "packagePath": "lib/lib.es2022.error.d.ts",
            "qualifiedName": "ErrorOptions"
          },
          "name": "ErrorOptions",
          "package": "typescript"
        }
      ]
    },
    {
      "id": 737,
      "name": "HttpOptions",
      "variant": "declaration",
      "kind": 256,
      "flags": {},
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Options for individual HTTP requests."
          }
        ]
      },
      "children": [
        {
          "id": 739,
          "name": "headers",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isOptional": true,
            "isReadonly": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Additional request headers"
              }
            ]
          },
          "type": {
            "type": "reference",
            "target": {
              "packageName": "typescript",
              "packagePath": "lib/lib.dom.d.ts",
              "qualifiedName": "HeadersInit"
            },
            "name": "HeadersInit",
            "package": "typescript"
          }
        },
        {
          "id": 738,
          "name": "query",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isOptional": true,
            "isReadonly": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Query parameters (arrays for multi-value params)"
              }
            ]
          },
          "type": {
            "type": "reference",
            "target": 736,
            "name": "QueryParams",
            "package": "@probitas-test/client-http"
          }
        },
        {
          "id": 740,
          "name": "redirect",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isOptional": true,
            "isReadonly": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Redirect handling mode."
              }
            ],
            "blockTags": [
              {
                "tag": "@default",
                "content": [
                  {
                    "kind": "code",
                    "text": "```ts\n\"follow\" (inherited from client config if not specified)\n```"
                  }
                ]
              }
            ]
          },
          "type": {
            "type": "reference",
            "target": 735,
            "name": "RedirectMode",
            "package": "@probitas-test/client-http"
          }
        },
        {
          "id": 744,
          "name": "retry",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isOptional": true,
            "isReadonly": true,
            "isInherited": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Retry configuration."
              }
            ]
          },
          "type": {
            "type": "reference",
            "target": {
              "packageName": "@probitas-test/client",
              "packagePath": "dist/types.d.ts",
              "qualifiedName": "RetryOptions"
            },
            "name": "RetryOptions",
            "package": "@probitas-test/client"
          },
          "inheritedFrom": {
            "type": "reference",
            "target": -1,
            "name": "CommonOptions.retry"
          }
        },
        {
          "id": 743,
          "name": "signal",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isOptional": true,
            "isReadonly": true,
            "isInherited": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "AbortSignal for cancellation."
              }
            ]
          },
          "type": {
            "type": "reference",
            "target": {
              "packageName": "typescript",
              "packagePath": "lib/lib.dom.d.ts",
              "qualifiedName": "AbortSignal"
            },
            "name": "AbortSignal",
            "package": "typescript"
          },
          "inheritedFrom": {
            "type": "reference",
            "target": -1,
            "name": "CommonOptions.signal"
          }
        },
        {
          "id": 741,
          "name": "throwOnError",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isOptional": true,
            "isReadonly": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Whether to throw HttpError for non-2xx responses.\nWhen false, non-2xx responses are returned as HttpResponse."
              }
            ],
            "blockTags": [
              {
                "tag": "@default",
                "content": [
                  {
                    "kind": "code",
                    "text": "```ts\nfalse (inherited from client config if not specified)\n```"
                  }
                ]
              }
            ]
          },
          "type": {
            "type": "intrinsic",
            "name": "boolean"
          }
        },
        {
          "id": 742,
          "name": "timeout",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isOptional": true,
            "isReadonly": true,
            "isInherited": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Timeout in milliseconds."
              }
            ]
          },
          "type": {
            "type": "intrinsic",
            "name": "number"
          },
          "inheritedFrom": {
            "type": "reference",
            "target": -1,
            "name": "CommonOptions.timeout"
          }
        }
      ],
      "extendedTypes": [
        {
          "type": "reference",
          "target": {
            "packageName": "@probitas-test/client",
            "packagePath": "dist/types.d.ts",
            "qualifiedName": "CommonOptions"
          },
          "name": "CommonOptions",
          "package": "@probitas-test/client"
        }
      ],
      "extendedBy": [
        {
          "type": "reference",
          "target": 745,
          "name": "HttpRequestOptions"
        }
      ]
    },
    {
      "id": 745,
      "name": "HttpRequestOptions",
      "variant": "declaration",
      "kind": 256,
      "flags": {},
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Options for HTTP requests that may include a body."
          }
        ]
      },
      "children": [
        {
          "id": 746,
          "name": "body",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isOptional": true,
            "isReadonly": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Request body"
              }
            ]
          },
          "type": {
            "type": "intrinsic",
            "name": "unknown"
          }
        },
        {
          "id": 748,
          "name": "headers",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isOptional": true,
            "isReadonly": true,
            "isInherited": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Additional request headers"
              }
            ]
          },
          "type": {
            "type": "reference",
            "target": {
              "packageName": "typescript",
              "packagePath": "lib/lib.dom.d.ts",
              "qualifiedName": "HeadersInit"
            },
            "name": "HeadersInit",
            "package": "typescript"
          },
          "inheritedFrom": {
            "type": "reference",
            "target": 739,
            "name": "HttpOptions.headers"
          }
        },
        {
          "id": 747,
          "name": "query",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isOptional": true,
            "isReadonly": true,
            "isInherited": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Query parameters (arrays for multi-value params)"
              }
            ]
          },
          "type": {
            "type": "reference",
            "target": 736,
            "name": "QueryParams",
            "package": "@probitas-test/client-http"
          },
          "inheritedFrom": {
            "type": "reference",
            "target": 738,
            "name": "HttpOptions.query"
          }
        },
        {
          "id": 749,
          "name": "redirect",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isOptional": true,
            "isReadonly": true,
            "isInherited": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Redirect handling mode."
              }
            ],
            "blockTags": [
              {
                "tag": "@default",
                "content": [
                  {
                    "kind": "code",
                    "text": "```ts\n\"follow\" (inherited from client config if not specified)\n```"
                  }
                ]
              }
            ]
          },
          "type": {
            "type": "reference",
            "target": 735,
            "name": "RedirectMode",
            "package": "@probitas-test/client-http"
          },
          "inheritedFrom": {
            "type": "reference",
            "target": 740,
            "name": "HttpOptions.redirect"
          }
        },
        {
          "id": 753,
          "name": "retry",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isOptional": true,
            "isReadonly": true,
            "isInherited": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Retry configuration."
              }
            ]
          },
          "type": {
            "type": "reference",
            "target": {
              "packageName": "@probitas-test/client",
              "packagePath": "dist/types.d.ts",
              "qualifiedName": "RetryOptions"
            },
            "name": "RetryOptions",
            "package": "@probitas-test/client"
          },
          "inheritedFrom": {
            "type": "reference",
            "target": 744,
            "name": "HttpOptions.retry"
          }
        },
        {
          "id": 752,
          "name": "signal",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isOptional": true,
            "isReadonly": true,
            "isInherited": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "AbortSignal for cancellation."
              }
            ]
          },
          "type": {
            "type": "reference",
            "target": {
              "packageName": "typescript",
              "packagePath": "lib/lib.dom.d.ts",
              "qualifiedName": "AbortSignal"
            },
            "name": "AbortSignal",
            "package": "typescript"
          },
          "inheritedFrom": {
            "type": "reference",
            "target": 743,
            "name": "HttpOptions.signal"
          }
        },
        {
          "id": 750,
          "name": "throwOnError",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isOptional": true,
            "isReadonly": true,
            "isInherited": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Whether to throw HttpError for non-2xx responses.\nWhen false, non-2xx responses are returned as HttpResponse."
              }
            ],
            "blockTags": [
              {
                "tag": "@default",
                "content": [
                  {
                    "kind": "code",
                    "text": "```ts\nfalse (inherited from client config if not specified)\n```"
                  }
                ]
              }
            ]
          },
          "type": {
            "type": "intrinsic",
            "name": "boolean"
          },
          "inheritedFrom": {
            "type": "reference",
            "target": 741,
            "name": "HttpOptions.throwOnError"
          }
        },
        {
          "id": 751,
          "name": "timeout",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isOptional": true,
            "isReadonly": true,
            "isInherited": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Timeout in milliseconds."
              }
            ]
          },
          "type": {
            "type": "intrinsic",
            "name": "number"
          },
          "inheritedFrom": {
            "type": "reference",
            "target": 742,
            "name": "HttpOptions.timeout"
          }
        }
      ],
      "extendedTypes": [
        {
          "type": "reference",
          "target": 737,
          "name": "HttpOptions",
          "package": "@probitas-test/client-http"
        }
      ]
    },
    {
      "id": 941,
      "name": "HttpResponseError",
      "variant": "declaration",
      "kind": 256,
      "flags": {},
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "HTTP response for error responses (4xx/5xx status codes).\n\nServer received and processed the request, but returned an error status."
          }
        ]
      },
      "children": [
        {
          "id": 954,
          "name": "arrayBuffer",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true,
            "isInherited": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Get body as ArrayBuffer (null if no body or failure)."
              }
            ]
          },
          "type": {
            "type": "union",
            "types": [
              {
                "type": "reference",
                "target": {
                  "packageName": "typescript",
                  "packagePath": "lib/lib.es5.d.ts",
                  "qualifiedName": "ArrayBuffer"
                },
                "name": "ArrayBuffer",
                "package": "typescript"
              },
              {
                "type": "literal",
                "value": null
              }
            ]
          },
          "inheritedFrom": {
            "type": "reference",
            "target": 971,
            "name": "HttpResponseBase.arrayBuffer",
            "package": "@probitas-test/client-http"
          }
        },
        {
          "id": 955,
          "name": "blob",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true,
            "isInherited": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Get body as Blob (null if no body or failure)."
              }
            ]
          },
          "type": {
            "type": "union",
            "types": [
              {
                "type": "reference",
                "target": {
                  "packageName": "typescript",
                  "packagePath": "lib/lib.dom.d.ts",
                  "qualifiedName": "Blob"
                },
                "name": "Blob",
                "package": "typescript"
              },
              {
                "type": "literal",
                "value": null
              }
            ]
          },
          "inheritedFrom": {
            "type": "reference",
            "target": 972,
            "name": "HttpResponseBase.blob",
            "package": "@probitas-test/client-http"
          }
        },
        {
          "id": 953,
          "name": "body",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true,
            "isInherited": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Response body as raw bytes (null if no body or failure)."
              }
            ]
          },
          "type": {
            "type": "union",
            "types": [
              {
                "type": "reference",
                "target": {
                  "packageName": "typescript",
                  "packagePath": "lib/lib.es5.d.ts",
                  "qualifiedName": "Uint8Array"
                },
                "typeArguments": [
                  {
                    "type": "reference",
                    "target": {
                      "packageName": "typescript",
                      "packagePath": "lib/lib.es5.d.ts",
                      "qualifiedName": "ArrayBufferLike"
                    },
                    "name": "ArrayBufferLike",
                    "package": "typescript"
                  }
                ],
                "name": "Uint8Array",
                "package": "typescript"
              },
              {
                "type": "literal",
                "value": null
              }
            ]
          },
          "inheritedFrom": {
            "type": "reference",
            "target": 987,
            "name": "HttpResponseBase.body",
            "package": "@probitas-test/client-http"
          }
        },
        {
          "id": 951,
          "name": "duration",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true,
            "isInherited": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Response time in milliseconds."
              }
            ]
          },
          "type": {
            "type": "intrinsic",
            "name": "number"
          },
          "inheritedFrom": {
            "type": "reference",
            "target": 969,
            "name": "HttpResponseBase.duration",
            "package": "@probitas-test/client-http"
          }
        },
        {
          "id": 945,
          "name": "error",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Error describing the HTTP error."
              }
            ]
          },
          "type": {
            "type": "reference",
            "target": 822,
            "name": "HttpError",
            "package": "@probitas-test/client-http"
          },
          "overwrites": {
            "type": "reference",
            "target": -1,
            "name": "HttpResponseBase.error",
            "package": "@probitas-test/client-http"
          }
        },
        {
          "id": 948,
          "name": "headers",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Response headers."
              }
            ]
          },
          "type": {
            "type": "reference",
            "target": {
              "packageName": "typescript",
              "packagePath": "lib/lib.dom.d.ts",
              "qualifiedName": "Headers"
            },
            "name": "Headers",
            "package": "typescript"
          }
        },
        {
          "id": 957,
          "name": "json",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true,
            "isInherited": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Get body as parsed JSON (null if no body or failure)."
              }
            ],
            "blockTags": [
              {
                "tag": "@throws",
                "content": [
                  {
                    "kind": "text",
                    "text": "SyntaxError if body is not valid JSON"
                  }
                ]
              }
            ]
          },
          "type": {
            "type": "union",
            "types": [
              {
                "type": "reference",
                "target": 942,
                "name": "T",
                "package": "@probitas-test/client-http",
                "qualifiedName": "HttpResponseError.T",
                "refersToTypeParameter": true
              },
              {
                "type": "literal",
                "value": null
              }
            ]
          },
          "inheritedFrom": {
            "type": "reference",
            "target": -1,
            "name": "HttpResponseBase.json",
            "package": "@probitas-test/client-http"
          }
        },
        {
          "id": 950,
          "name": "kind",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true,
            "isInherited": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Result kind discriminator. Always "
              },
              {
                "kind": "code",
                "text": "`\"http\"`"
              },
              {
                "kind": "text",
                "text": " for HTTP responses."
              }
            ]
          },
          "type": {
            "type": "literal",
            "value": "http"
          },
          "inheritedFrom": {
            "type": "reference",
            "target": 968,
            "name": "HttpResponseBase.kind",
            "package": "@probitas-test/client-http"
          }
        },
        {
          "id": 944,
          "name": "ok",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Response was not successful (4xx/5xx)."
              }
            ]
          },
          "type": {
            "type": "literal",
            "value": false
          },
          "overwrites": {
            "type": "reference",
            "target": -1,
            "name": "HttpResponseBase.ok",
            "package": "@probitas-test/client-http"
          }
        },
        {
          "id": 943,
          "name": "processed",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Server processed the request."
              }
            ]
          },
          "type": {
            "type": "literal",
            "value": true
          },
          "overwrites": {
            "type": "reference",
            "target": -1,
            "name": "HttpResponseBase.processed",
            "package": "@probitas-test/client-http"
          }
        },
        {
          "id": 949,
          "name": "raw",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Raw Web standard Response."
              }
            ]
          },
          "type": {
            "type": "reference",
            "target": {
              "packageName": "typescript",
              "packagePath": "lib/lib.dom.d.ts",
              "qualifiedName": "Response"
            },
            "name": "Response",
            "package": "typescript"
          },
          "overwrites": {
            "type": "reference",
            "target": -1,
            "name": "HttpResponseBase.raw",
            "package": "@probitas-test/client-http"
          }
        },
        {
          "id": 946,
          "name": "status",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "HTTP status code (4xx/5xx)."
              }
            ]
          },
          "type": {
            "type": "intrinsic",
            "name": "number"
          }
        },
        {
          "id": 947,
          "name": "statusText",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "HTTP status text."
              }
            ]
          },
          "type": {
            "type": "intrinsic",
            "name": "string"
          }
        },
        {
          "id": 956,
          "name": "text",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true,
            "isInherited": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Get body as text (null if no body or failure)."
              }
            ]
          },
          "type": {
            "type": "union",
            "types": [
              {
                "type": "intrinsic",
                "name": "string"
              },
              {
                "type": "literal",
                "value": null
              }
            ]
          },
          "inheritedFrom": {
            "type": "reference",
            "target": 973,
            "name": "HttpResponseBase.text",
            "package": "@probitas-test/client-http"
          }
        },
        {
          "id": 952,
          "name": "url",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true,
            "isInherited": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Request URL."
              }
            ]
          },
          "type": {
            "type": "intrinsic",
            "name": "string"
          },
          "inheritedFrom": {
            "type": "reference",
            "target": 970,
            "name": "HttpResponseBase.url",
            "package": "@probitas-test/client-http"
          }
        }
      ],
      "typeParameters": [
        {
          "id": 942,
          "name": "T",
          "variant": "typeParam",
          "kind": 131072,
          "flags": {},
          "default": {
            "type": "intrinsic",
            "name": "any"
          }
        }
      ],
      "extendedTypes": [
        {
          "type": "reference",
          "target": {
            "packageName": "@probitas-test/client-http",
            "packagePath": "response.ts",
            "qualifiedName": "HttpResponseBase"
          },
          "typeArguments": [
            {
              "type": "reference",
              "target": 942,
              "name": "T",
              "package": "@probitas-test/client-http",
              "qualifiedName": "HttpResponseError.T",
              "refersToTypeParameter": true
            }
          ],
          "name": "HttpResponseBase",
          "package": "@probitas-test/client-http"
        }
      ]
    },
    {
      "id": 958,
      "name": "HttpResponseFailure",
      "variant": "declaration",
      "kind": 256,
      "flags": {},
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "HTTP response for request failures (network errors, timeouts, etc.).\n\nRequest could not be processed by the server (network error, DNS failure,\nconnection refused, timeout, aborted, etc.)."
          }
        ]
      },
      "children": [
        {
          "id": 971,
          "name": "arrayBuffer",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true,
            "isInherited": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Get body as ArrayBuffer (null if no body or failure)."
              }
            ]
          },
          "type": {
            "type": "union",
            "types": [
              {
                "type": "reference",
                "target": {
                  "packageName": "typescript",
                  "packagePath": "lib/lib.es5.d.ts",
                  "qualifiedName": "ArrayBuffer"
                },
                "name": "ArrayBuffer",
                "package": "typescript"
              },
              {
                "type": "literal",
                "value": null
              }
            ]
          },
          "inheritedFrom": {
            "type": "reference",
            "target": -1,
            "name": "HttpResponseBase.arrayBuffer"
          }
        },
        {
          "id": 972,
          "name": "blob",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true,
            "isInherited": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Get body as Blob (null if no body or failure)."
              }
            ]
          },
          "type": {
            "type": "union",
            "types": [
              {
                "type": "reference",
                "target": {
                  "packageName": "typescript",
                  "packagePath": "lib/lib.dom.d.ts",
                  "qualifiedName": "Blob"
                },
                "name": "Blob",
                "package": "typescript"
              },
              {
                "type": "literal",
                "value": null
              }
            ]
          },
          "inheritedFrom": {
            "type": "reference",
            "target": -1,
            "name": "HttpResponseBase.blob"
          }
        },
        {
          "id": 966,
          "name": "body",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "No body (request didn't reach server)."
              }
            ]
          },
          "type": {
            "type": "literal",
            "value": null
          },
          "overwrites": {
            "type": "reference",
            "target": -1,
            "name": "HttpResponseBase.body"
          }
        },
        {
          "id": 969,
          "name": "duration",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true,
            "isInherited": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Response time in milliseconds."
              }
            ]
          },
          "type": {
            "type": "intrinsic",
            "name": "number"
          },
          "inheritedFrom": {
            "type": "reference",
            "target": -1,
            "name": "HttpResponseBase.duration"
          }
        },
        {
          "id": 962,
          "name": "error",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Error describing the failure (ConnectionError, TimeoutError, AbortError)."
              }
            ]
          },
          "type": {
            "type": "reference",
            "target": 851,
            "name": "HttpFailureError",
            "package": "@probitas-test/client-http"
          },
          "overwrites": {
            "type": "reference",
            "target": -1,
            "name": "HttpResponseBase.error",
            "package": "@probitas-test/client-http"
          }
        },
        {
          "id": 965,
          "name": "headers",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "No headers (request didn't reach server)."
              }
            ]
          },
          "type": {
            "type": "literal",
            "value": null
          }
        },
        {
          "id": 974,
          "name": "json",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true,
            "isInherited": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Get body as parsed JSON (null if no body or failure)."
              }
            ],
            "blockTags": [
              {
                "tag": "@throws",
                "content": [
                  {
                    "kind": "text",
                    "text": "SyntaxError if body is not valid JSON"
                  }
                ]
              }
            ]
          },
          "type": {
            "type": "union",
            "types": [
              {
                "type": "reference",
                "target": 959,
                "name": "T",
                "package": "@probitas-test/client-http",
                "qualifiedName": "HttpResponseFailure.T",
                "refersToTypeParameter": true
              },
              {
                "type": "literal",
                "value": null
              }
            ]
          },
          "inheritedFrom": {
            "type": "reference",
            "target": -1,
            "name": "HttpResponseBase.json",
            "package": "@probitas-test/client-http"
          }
        },
        {
          "id": 968,
          "name": "kind",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true,
            "isInherited": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Result kind discriminator. Always "
              },
              {
                "kind": "code",
                "text": "`\"http\"`"
              },
              {
                "kind": "text",
                "text": " for HTTP responses."
              }
            ]
          },
          "type": {
            "type": "literal",
            "value": "http"
          },
          "inheritedFrom": {
            "type": "reference",
            "target": -1,
            "name": "HttpResponseBase.kind"
          }
        },
        {
          "id": 961,
          "name": "ok",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Request failed."
              }
            ]
          },
          "type": {
            "type": "literal",
            "value": false
          },
          "overwrites": {
            "type": "reference",
            "target": -1,
            "name": "HttpResponseBase.ok",
            "package": "@probitas-test/client-http"
          }
        },
        {
          "id": 960,
          "name": "processed",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Server did not process the request."
              }
            ]
          },
          "type": {
            "type": "literal",
            "value": false
          },
          "overwrites": {
            "type": "reference",
            "target": -1,
            "name": "HttpResponseBase.processed",
            "package": "@probitas-test/client-http"
          }
        },
        {
          "id": 967,
          "name": "raw",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "No raw response (request didn't reach server)."
              }
            ]
          },
          "type": {
            "type": "literal",
            "value": null
          },
          "overwrites": {
            "type": "reference",
            "target": -1,
            "name": "HttpResponseBase.raw",
            "package": "@probitas-test/client-http"
          }
        },
        {
          "id": 963,
          "name": "status",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "No HTTP status (request didn't reach server)."
              }
            ]
          },
          "type": {
            "type": "literal",
            "value": null
          }
        },
        {
          "id": 964,
          "name": "statusText",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "No HTTP status text (request didn't reach server)."
              }
            ]
          },
          "type": {
            "type": "literal",
            "value": null
          }
        },
        {
          "id": 973,
          "name": "text",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true,
            "isInherited": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Get body as text (null if no body or failure)."
              }
            ]
          },
          "type": {
            "type": "union",
            "types": [
              {
                "type": "intrinsic",
                "name": "string"
              },
              {
                "type": "literal",
                "value": null
              }
            ]
          },
          "inheritedFrom": {
            "type": "reference",
            "target": -1,
            "name": "HttpResponseBase.text"
          }
        },
        {
          "id": 970,
          "name": "url",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true,
            "isInherited": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Request URL."
              }
            ]
          },
          "type": {
            "type": "intrinsic",
            "name": "string"
          },
          "inheritedFrom": {
            "type": "reference",
            "target": -1,
            "name": "HttpResponseBase.url"
          }
        }
      ],
      "typeParameters": [
        {
          "id": 959,
          "name": "T",
          "variant": "typeParam",
          "kind": 131072,
          "flags": {},
          "default": {
            "type": "intrinsic",
            "name": "any"
          }
        }
      ],
      "extendedTypes": [
        {
          "type": "reference",
          "target": {
            "packageName": "@probitas-test/client-http",
            "packagePath": "response.ts",
            "qualifiedName": "HttpResponseBase"
          },
          "typeArguments": [
            {
              "type": "reference",
              "target": 959,
              "name": "T",
              "package": "@probitas-test/client-http",
              "qualifiedName": "HttpResponseFailure.T",
              "refersToTypeParameter": true
            }
          ],
          "name": "HttpResponseBase",
          "package": "@probitas-test/client-http"
        }
      ]
    },
    {
      "id": 975,
      "name": "HttpResponseSuccess",
      "variant": "declaration",
      "kind": 256,
      "flags": {},
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "HTTP response for successful requests (2xx status codes).\n\nWraps Web standard Response, allowing body to be read synchronously\nand multiple times (unlike the streaming-based standard Response)."
          }
        ]
      },
      "children": [
        {
          "id": 988,
          "name": "arrayBuffer",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true,
            "isInherited": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Get body as ArrayBuffer (null if no body or failure)."
              }
            ]
          },
          "type": {
            "type": "union",
            "types": [
              {
                "type": "reference",
                "target": {
                  "packageName": "typescript",
                  "packagePath": "lib/lib.es5.d.ts",
                  "qualifiedName": "ArrayBuffer"
                },
                "name": "ArrayBuffer",
                "package": "typescript"
              },
              {
                "type": "literal",
                "value": null
              }
            ]
          },
          "inheritedFrom": {
            "type": "reference",
            "target": -1,
            "name": "HttpResponseBase.arrayBuffer"
          }
        },
        {
          "id": 989,
          "name": "blob",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true,
            "isInherited": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Get body as Blob (null if no body or failure)."
              }
            ]
          },
          "type": {
            "type": "union",
            "types": [
              {
                "type": "reference",
                "target": {
                  "packageName": "typescript",
                  "packagePath": "lib/lib.dom.d.ts",
                  "qualifiedName": "Blob"
                },
                "name": "Blob",
                "package": "typescript"
              },
              {
                "type": "literal",
                "value": null
              }
            ]
          },
          "inheritedFrom": {
            "type": "reference",
            "target": -1,
            "name": "HttpResponseBase.blob"
          }
        },
        {
          "id": 987,
          "name": "body",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true,
            "isInherited": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Response body as raw bytes (null if no body or failure)."
              }
            ]
          },
          "type": {
            "type": "union",
            "types": [
              {
                "type": "reference",
                "target": {
                  "packageName": "typescript",
                  "packagePath": "lib/lib.es5.d.ts",
                  "qualifiedName": "Uint8Array"
                },
                "typeArguments": [
                  {
                    "type": "reference",
                    "target": {
                      "packageName": "typescript",
                      "packagePath": "lib/lib.es5.d.ts",
                      "qualifiedName": "ArrayBufferLike"
                    },
                    "name": "ArrayBufferLike",
                    "package": "typescript"
                  }
                ],
                "name": "Uint8Array",
                "package": "typescript"
              },
              {
                "type": "literal",
                "value": null
              }
            ]
          },
          "inheritedFrom": {
            "type": "reference",
            "target": -1,
            "name": "HttpResponseBase.body"
          }
        },
        {
          "id": 985,
          "name": "duration",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true,
            "isInherited": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Response time in milliseconds."
              }
            ]
          },
          "type": {
            "type": "intrinsic",
            "name": "number"
          },
          "inheritedFrom": {
            "type": "reference",
            "target": -1,
            "name": "HttpResponseBase.duration"
          }
        },
        {
          "id": 979,
          "name": "error",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "No error for successful responses."
              }
            ]
          },
          "type": {
            "type": "literal",
            "value": null
          },
          "overwrites": {
            "type": "reference",
            "target": -1,
            "name": "HttpResponseBase.error",
            "package": "@probitas-test/client-http"
          }
        },
        {
          "id": 982,
          "name": "headers",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Response headers."
              }
            ]
          },
          "type": {
            "type": "reference",
            "target": {
              "packageName": "typescript",
              "packagePath": "lib/lib.dom.d.ts",
              "qualifiedName": "Headers"
            },
            "name": "Headers",
            "package": "typescript"
          }
        },
        {
          "id": 991,
          "name": "json",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true,
            "isInherited": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Get body as parsed JSON (null if no body or failure)."
              }
            ],
            "blockTags": [
              {
                "tag": "@throws",
                "content": [
                  {
                    "kind": "text",
                    "text": "SyntaxError if body is not valid JSON"
                  }
                ]
              }
            ]
          },
          "type": {
            "type": "union",
            "types": [
              {
                "type": "reference",
                "target": 976,
                "name": "T",
                "package": "@probitas-test/client-http",
                "qualifiedName": "HttpResponseSuccess.T",
                "refersToTypeParameter": true
              },
              {
                "type": "literal",
                "value": null
              }
            ]
          },
          "inheritedFrom": {
            "type": "reference",
            "target": -1,
            "name": "HttpResponseBase.json",
            "package": "@probitas-test/client-http"
          }
        },
        {
          "id": 984,
          "name": "kind",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true,
            "isInherited": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Result kind discriminator. Always "
              },
              {
                "kind": "code",
                "text": "`\"http\"`"
              },
              {
                "kind": "text",
                "text": " for HTTP responses."
              }
            ]
          },
          "type": {
            "type": "literal",
            "value": "http"
          },
          "inheritedFrom": {
            "type": "reference",
            "target": -1,
            "name": "HttpResponseBase.kind"
          }
        },
        {
          "id": 978,
          "name": "ok",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Response was successful (2xx)."
              }
            ]
          },
          "type": {
            "type": "literal",
            "value": true
          },
          "overwrites": {
            "type": "reference",
            "target": -1,
            "name": "HttpResponseBase.ok",
            "package": "@probitas-test/client-http"
          }
        },
        {
          "id": 977,
          "name": "processed",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Server processed the request."
              }
            ]
          },
          "type": {
            "type": "literal",
            "value": true
          },
          "overwrites": {
            "type": "reference",
            "target": -1,
            "name": "HttpResponseBase.processed",
            "package": "@probitas-test/client-http"
          }
        },
        {
          "id": 983,
          "name": "raw",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Raw Web standard Response."
              }
            ]
          },
          "type": {
            "type": "reference",
            "target": {
              "packageName": "typescript",
              "packagePath": "lib/lib.dom.d.ts",
              "qualifiedName": "Response"
            },
            "name": "Response",
            "package": "typescript"
          },
          "overwrites": {
            "type": "reference",
            "target": -1,
            "name": "HttpResponseBase.raw",
            "package": "@probitas-test/client-http"
          }
        },
        {
          "id": 980,
          "name": "status",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "HTTP status code (200-299)."
              }
            ]
          },
          "type": {
            "type": "intrinsic",
            "name": "number"
          }
        },
        {
          "id": 981,
          "name": "statusText",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "HTTP status text."
              }
            ]
          },
          "type": {
            "type": "intrinsic",
            "name": "string"
          }
        },
        {
          "id": 990,
          "name": "text",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true,
            "isInherited": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Get body as text (null if no body or failure)."
              }
            ]
          },
          "type": {
            "type": "union",
            "types": [
              {
                "type": "intrinsic",
                "name": "string"
              },
              {
                "type": "literal",
                "value": null
              }
            ]
          },
          "inheritedFrom": {
            "type": "reference",
            "target": -1,
            "name": "HttpResponseBase.text"
          }
        },
        {
          "id": 986,
          "name": "url",
          "variant": "declaration",
          "kind": 1024,
          "flags": {
            "isReadonly": true,
            "isInherited": true
          },
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Request URL."
              }
            ]
          },
          "type": {
            "type": "intrinsic",
            "name": "string"
          },
          "inheritedFrom": {
            "type": "reference",
            "target": -1,
            "name": "HttpResponseBase.url"
          }
        }
      ],
      "typeParameters": [
        {
          "id": 976,
          "name": "T",
          "variant": "typeParam",
          "kind": 131072,
          "flags": {},
          "default": {
            "type": "intrinsic",
            "name": "any"
          }
        }
      ],
      "extendedTypes": [
        {
          "type": "reference",
          "target": {
            "packageName": "@probitas-test/client-http",
            "packagePath": "response.ts",
            "qualifiedName": "HttpResponseBase"
          },
          "typeArguments": [
            {
              "type": "reference",
              "target": 976,
              "name": "T",
              "package": "@probitas-test/client-http",
              "qualifiedName": "HttpResponseSuccess.T",
              "refersToTypeParameter": true
            }
          ],
          "name": "HttpResponseBase",
          "package": "@probitas-test/client-http"
        }
      ]
    },
    {
      "id": 734,
      "name": "BodyInit",
      "variant": "declaration",
      "kind": 2097152,
      "flags": {},
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Request body type."
          }
        ]
      },
      "type": {
        "type": "union",
        "types": [
          {
            "type": "intrinsic",
            "name": "string"
          },
          {
            "type": "reference",
            "target": {
              "packageName": "typescript",
              "packagePath": "lib/lib.es5.d.ts",
              "qualifiedName": "Uint8Array"
            },
            "name": "Uint8Array",
            "package": "typescript"
          },
          {
            "type": "reference",
            "target": {
              "packageName": "typescript",
              "packagePath": "lib/lib.dom.d.ts",
              "qualifiedName": "FormData"
            },
            "name": "FormData",
            "package": "typescript"
          },
          {
            "type": "reference",
            "target": {
              "packageName": "typescript",
              "packagePath": "lib/lib.dom.d.ts",
              "qualifiedName": "URLSearchParams"
            },
            "name": "URLSearchParams",
            "package": "typescript"
          },
          {
            "type": "intrinsic",
            "name": "unknown"
          }
        ]
      }
    },
    {
      "id": 851,
      "name": "HttpFailureError",
      "variant": "declaration",
      "kind": 2097152,
      "flags": {},
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Error types that indicate the operation was not processed.\nThese are errors that occur before the request reaches the server."
          }
        ]
      },
      "type": {
        "type": "union",
        "types": [
          {
            "type": "reference",
            "target": 844,
            "name": "HttpNetworkError",
            "package": "@probitas-test/client-http"
          },
          {
            "type": "reference",
            "target": {
              "packageName": "@probitas-test/client",
              "packagePath": "dist/errors.d.ts",
              "qualifiedName": "AbortError"
            },
            "name": "AbortError",
            "package": "@probitas-test/client"
          },
          {
            "type": "reference",
            "target": {
              "packageName": "@probitas-test/client",
              "packagePath": "dist/errors.d.ts",
              "qualifiedName": "TimeoutError"
            },
            "name": "TimeoutError",
            "package": "@probitas-test/client"
          }
        ]
      }
    },
    {
      "id": 939,
      "name": "HttpResponse",
      "variant": "declaration",
      "kind": 2097152,
      "flags": {},
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "HTTP response union type representing all possible response states.\n\n- **Success (2xx)**: "
          },
          {
            "kind": "code",
            "text": "`processed: true, ok: true, error: null`"
          },
          {
            "kind": "text",
            "text": "\n- **Error (4xx/5xx)**: "
          },
          {
            "kind": "code",
            "text": "`processed: true, ok: false, error: HttpError`"
          },
          {
            "kind": "text",
            "text": "\n- **Failure (network error)**: "
          },
          {
            "kind": "code",
            "text": "`processed: false, ok: false, error: Error`"
          }
        ],
        "blockTags": [
          {
            "tag": "@example",
            "name": "Type narrowing by ok",
            "content": [
              {
                "kind": "code",
                "text": "```ts\nimport { createHttpClient } from \"@probitas-test/client-http\";\n\nawait using http = createHttpClient({ url: \"http://localhost:3000\" });\nconst response = await http.get(\"/users\");\nif (response.ok) {\n  // TypeScript knows: HttpResponseSuccess\n  console.log(response.status); // number\n} else {\n  // TypeScript knows: HttpResponseError | HttpResponseFailure\n  console.log(response.error); // Error\n}\n```"
              }
            ]
          },
          {
            "tag": "@example",
            "name": "Type narrowing by processed",
            "content": [
              {
                "kind": "code",
                "text": "```ts\nimport { createHttpClient } from \"@probitas-test/client-http\";\n\nawait using http = createHttpClient({ url: \"http://localhost:3000\" });\nconst response = await http.get(\"/users\");\nif (response.processed) {\n  // TypeScript knows: HttpResponseSuccess | HttpResponseError\n  console.log(response.status); // number\n} else {\n  // TypeScript knows: HttpResponseFailure\n  console.log(response.error); // Error (network error)\n}\n```"
              }
            ]
          }
        ]
      },
      "typeParameters": [
        {
          "id": 940,
          "name": "T",
          "variant": "typeParam",
          "kind": 131072,
          "flags": {},
          "default": {
            "type": "intrinsic",
            "name": "any"
          }
        }
      ],
      "type": {
        "type": "union",
        "types": [
          {
            "type": "reference",
            "target": 975,
            "typeArguments": [
              {
                "type": "reference",
                "target": 940,
                "name": "T",
                "package": "@probitas-test/client-http",
                "refersToTypeParameter": true
              }
            ],
            "name": "HttpResponseSuccess",
            "package": "@probitas-test/client-http"
          },
          {
            "type": "reference",
            "target": 941,
            "typeArguments": [
              {
                "type": "reference",
                "target": 940,
                "name": "T",
                "package": "@probitas-test/client-http",
                "refersToTypeParameter": true
              }
            ],
            "name": "HttpResponseError",
            "package": "@probitas-test/client-http"
          },
          {
            "type": "reference",
            "target": 958,
            "typeArguments": [
              {
                "type": "reference",
                "target": 940,
                "name": "T",
                "package": "@probitas-test/client-http",
                "refersToTypeParameter": true
              }
            ],
            "name": "HttpResponseFailure",
            "package": "@probitas-test/client-http"
          }
        ]
      }
    },
    {
      "id": 736,
      "name": "QueryParams",
      "variant": "declaration",
      "kind": 2097152,
      "flags": {},
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Query parameters type - accepts URLSearchParams or plain object."
          }
        ]
      },
      "type": {
        "type": "union",
        "types": [
          {
            "type": "reference",
            "target": {
              "packageName": "typescript",
              "packagePath": "lib/lib.dom.d.ts",
              "qualifiedName": "URLSearchParams"
            },
            "name": "URLSearchParams",
            "package": "typescript"
          },
          {
            "type": "reference",
            "target": {
              "packageName": "typescript",
              "packagePath": "lib/lib.es5.d.ts",
              "qualifiedName": "Record"
            },
            "typeArguments": [
              {
                "type": "intrinsic",
                "name": "string"
              },
              {
                "type": "union",
                "types": [
                  {
                    "type": "reference",
                    "target": 733,
                    "name": "QueryValue",
                    "package": "@probitas-test/client-http"
                  },
                  {
                    "type": "array",
                    "elementType": {
                      "type": "reference",
                      "target": 733,
                      "name": "QueryValue",
                      "package": "@probitas-test/client-http"
                    }
                  }
                ]
              }
            ],
            "name": "Record",
            "package": "typescript"
          }
        ]
      }
    },
    {
      "id": 733,
      "name": "QueryValue",
      "variant": "declaration",
      "kind": 2097152,
      "flags": {},
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Query parameter value type."
          }
        ]
      },
      "type": {
        "type": "union",
        "types": [
          {
            "type": "intrinsic",
            "name": "string"
          },
          {
            "type": "intrinsic",
            "name": "number"
          },
          {
            "type": "intrinsic",
            "name": "boolean"
          }
        ]
      }
    },
    {
      "id": 735,
      "name": "RedirectMode",
      "variant": "declaration",
      "kind": 2097152,
      "flags": {},
      "comment": {
        "summary": [
          {
            "kind": "text",
            "text": "Redirect handling mode.\n- \"follow\": Automatically follow redirects (default)\n- \"manual\": Return redirect response without following\n- \"error\": Throw error on redirect"
          }
        ]
      },
      "type": {
        "type": "union",
        "types": [
          {
            "type": "literal",
            "value": "follow"
          },
          {
            "type": "literal",
            "value": "manual"
          },
          {
            "type": "literal",
            "value": "error"
          }
        ]
      }
    },
    {
      "id": 852,
      "name": "createHttpClient",
      "variant": "declaration",
      "kind": 64,
      "flags": {},
      "signatures": [
        {
          "id": 853,
          "name": "createHttpClient",
          "variant": "signature",
          "kind": 4096,
          "flags": {},
          "comment": {
            "summary": [
              {
                "kind": "text",
                "text": "Create a new HTTP client instance.\n\nThe client provides methods for making HTTP requests with automatic\ncookie handling, response body pre-loading, and error handling."
              }
            ],
            "blockTags": [
              {
                "tag": "@returns",
                "content": [
                  {
                    "kind": "text",
                    "text": "A new HTTP client instance"
                  }
                ]
              },
              {
                "tag": "@example",
                "name": "Basic usage with string URL",
                "content": [
                  {
                    "kind": "code",
                    "text": "```ts\nimport { createHttpClient } from \"@probitas-test/client-http\";\n\nconst http = createHttpClient({ url: \"http://localhost:3000\" });\n\nconst response = await http.get(\"/users/123\");\nconsole.log(response.json);\n\nawait http.close();\n```"
                  }
                ]
              },
              {
                "tag": "@example",
                "name": "With connection config object",
                "content": [
                  {
                    "kind": "code",
                    "text": "```ts\nimport { createHttpClient } from \"@probitas-test/client-http\";\n\nconst http = createHttpClient({\n  url: { host: \"api.example.com\", port: 443, protocol: \"https\" },\n});\nawait http.close();\n```"
                  }
                ]
              },
              {
                "tag": "@example",
                "name": "With default headers",
                "content": [
                  {
                    "kind": "code",
                    "text": "```ts\nimport { createHttpClient } from \"@probitas-test/client-http\";\n\nconst http = createHttpClient({\n  url: \"http://localhost:3000\",\n  headers: {\n    \"Authorization\": \"Bearer token123\",\n    \"Accept\": \"application/json\",\n  },\n});\nawait http.close();\n```"
                  }
                ]
              },
              {
                "tag": "@example",
                "name": "Using `await using` for automatic cleanup",
                "content": [
                  {
                    "kind": "code",
                    "text": "```ts\nimport { createHttpClient } from \"@probitas-test/client-http\";\n\nawait using http = createHttpClient({ url: \"http://localhost:3000\" });\nconst response = await http.get(\"/health\");\nconsole.log(response.ok);\n```"
                  }
                ]
              }
            ]
          },
          "parameters": [
            {
              "id": 854,
              "name": "config",
              "variant": "param",
              "kind": 32768,
              "flags": {},
              "comment": {
                "summary": [
                  {
                    "kind": "text",
                    "text": "Client configuration including URL and default options"
                  }
                ]
              },
              "type": {
                "type": "reference",
                "target": 764,
                "name": "HttpClientConfig",
                "package": "@probitas-test/client-http"
              }
            }
          ],
          "type": {
            "type": "reference",
            "target": 774,
            "name": "HttpClient",
            "package": "@probitas-test/client-http"
          }
        }
      ]
    }
  ],
  "packageName": "@probitas-test/client-http",
  "packageVersion": "0.8.1"
}
