{
  "name": "client-connectrpc",
  "specifier": "@probitas/client-connectrpc",
  "version": "0.7.0",
  "moduleDoc": "ConnectRPC client for [Probitas](https://github.com/probitas-test/probitas) scenario testing framework.\n\nThis package provides a ConnectRPC-based client with Server Reflection support,\ndesigned for integration testing of gRPC and Connect protocol services.\n\n## Features\n\n- **Protocol Support**: Connect, gRPC, and gRPC-Web protocols\n- **Server Reflection**: Auto-discover services and methods at runtime\n- **TLS Support**: Configure secure connections with custom certificates\n- **Duration Tracking**: Built-in timing for performance monitoring\n- **Error Handling**: Test error responses without throwing exceptions\n- **Resource Management**: Implements `AsyncDisposable` for proper cleanup\n\n## Installation\n\n```bash\ndeno add jsr:@probitas/client-connectrpc\n```\n\n## Quick Start\n\n```ts\nimport { createConnectRpcClient } from \"@probitas/client-connectrpc\";\n\n// Create client (uses reflection by default)\nconst client = createConnectRpcClient({\n  url: \"http://localhost:50051\",\n});\n\n// Discover services via reflection\nconst services = await client.reflection.listServices();\nconsole.log(\"Available services:\", services);\n\n// Get service info\nconst info = await client.reflection.getServiceInfo(\"echo.EchoService\");\nconsole.log(\"Methods:\", info.methods);\n\n// Call a method\nconst response = await client.call(\n  \"echo.EchoService\",\n  \"echo\",\n  { message: \"Hello!\" }\n);\nconsole.log(response.data);\n\nawait client.close();\n```\n\n## Testing Error Responses\n\n```ts\nimport { createConnectRpcClient } from \"@probitas/client-connectrpc\";\n\nconst client = createConnectRpcClient({ url: \"http://localhost:50051\" });\n\n// Test error responses without throwing\nconst errorResponse = await client.call(\n  \"echo.EchoService\",\n  \"echo\",\n  { invalid: true },\n  { throwOnError: false }\n);\n\nif (!errorResponse.ok) {\n  console.log(\"Error code:\", errorResponse.statusCode);  // INVALID_ARGUMENT = 3\n}\nawait client.close();\n```\n\n## Using with `using` Statement\n\n```ts\nimport { createConnectRpcClient } from \"@probitas/client-connectrpc\";\n\nawait using client = createConnectRpcClient({ url: \"http://localhost:50051\" });\n\nconst res = await client.call(\"echo.EchoService\", \"echo\", { message: \"test\" });\nconsole.log(res.data);\n// Client automatically closed when block exits\n```\n\n## Related Packages\n\n| Package | Description |\n|---------|-------------|\n| [`@probitas/client`](https://jsr.io/@probitas/client) | Core utilities and types |\n| [`@probitas/client-grpc`](https://jsr.io/@probitas/client-grpc) | gRPC client (wrapper with `protocol: \"grpc\"`) |\n\n## Links\n\n- [GitHub Repository](https://github.com/probitas-test/probitas-client)\n- [Probitas Framework](https://github.com/probitas-test/probitas)\n- [ConnectRPC](https://connectrpc.com/)\n",
  "exports": [
    {
      "name": "ConnectRpcResponse",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
        "line": 232,
        "col": 0,
        "byteIndex": 6489
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "ConnectRPC response union type.\n\nUse `processed` to distinguish between server responses and failures:\n- `processed === true`: Server responded (Success or Error)\n- `processed === false`: Request failed (Failure)\n\nUse `ok` to check for success:\n- `ok === true`: Success (statusCode === 0)\n- `ok === false`: Error or Failure"
      },
      "kind": "typeAlias",
      "typeAliasDef": {
        "tsType": {
          "repr": "",
          "kind": "union",
          "union": [
            {
              "repr": "ConnectRpcResponseSuccess",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "T",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": null,
                      "typeName": "T"
                    }
                  }
                ],
                "typeName": "ConnectRpcResponseSuccess"
              }
            },
            {
              "repr": "ConnectRpcResponseError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "T",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": null,
                      "typeName": "T"
                    }
                  }
                ],
                "typeName": "ConnectRpcResponseError"
              }
            },
            {
              "repr": "ConnectRpcResponseFailure",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "T",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": null,
                      "typeName": "T"
                    }
                  }
                ],
                "typeName": "ConnectRpcResponseFailure"
              }
            }
          ]
        },
        "typeParams": [
          {
            "name": "T",
            "default": {
              "repr": "any",
              "kind": "keyword",
              "keyword": "any"
            }
          }
        ]
      }
    },
    {
      "name": "ConnectRpcResponseError",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
        "line": 164,
        "col": 0,
        "byteIndex": 4684
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "ConnectRPC response with gRPC error (statusCode !== 0).\n\nThe server processed the request but returned an error status."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "ConnectRpcResponseBase",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": [
                {
                  "repr": "T",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "T"
                  }
                }
              ],
              "typeName": "ConnectRpcResponseBase"
            }
          }
        ],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "processed",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 166,
              "col": 2,
              "byteIndex": 4774
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "true",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": true
              }
            },
            "typeParams": []
          },
          {
            "name": "ok",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 167,
              "col": 2,
              "byteIndex": 4802
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "false",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": false
              }
            },
            "typeParams": []
          },
          {
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 168,
              "col": 2,
              "byteIndex": 4824
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "ConnectRpcError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "ConnectRpcError"
              }
            },
            "typeParams": []
          },
          {
            "name": "statusCode",
            "jsDoc": {
              "doc": "gRPC status code (1-16)."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 171,
              "col": 2,
              "byteIndex": 4894
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "ConnectRpcStatusCode",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "ConnectRpcStatusCode"
              }
            },
            "typeParams": []
          },
          {
            "name": "statusMessage",
            "jsDoc": {
              "doc": "Status message describing the error."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 174,
              "col": 2,
              "byteIndex": 4986
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "typeParams": []
          },
          {
            "name": "headers",
            "jsDoc": {
              "doc": "Response headers."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 177,
              "col": 2,
              "byteIndex": 5048
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "Headers",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "Headers"
              }
            },
            "typeParams": []
          },
          {
            "name": "trailers",
            "jsDoc": {
              "doc": "Response trailers (sent at end of RPC)."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 180,
              "col": 2,
              "byteIndex": 5127
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "Headers",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "Headers"
              }
            },
            "typeParams": []
          },
          {
            "name": "raw",
            "jsDoc": {
              "doc": "Raw ConnectError."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 183,
              "col": 2,
              "byteIndex": 5185
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "ConnectError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "ConnectError"
              }
            },
            "typeParams": []
          },
          {
            "name": "data",
            "jsDoc": {
              "doc": "No data for error responses."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 186,
              "col": 2,
              "byteIndex": 5254
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": [
          {
            "name": "T",
            "default": {
              "repr": "any",
              "kind": "keyword",
              "keyword": "any"
            }
          }
        ]
      }
    },
    {
      "name": "ConnectRpcResponseFailure",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
        "line": 195,
        "col": 0,
        "byteIndex": 5443
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Failed ConnectRPC request (network error, connection refused, etc.).\n\nThe request did not reach gRPC processing."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "ConnectRpcResponseBase",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": [
                {
                  "repr": "T",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "T"
                  }
                }
              ],
              "typeName": "ConnectRpcResponseBase"
            }
          }
        ],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "processed",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 197,
              "col": 2,
              "byteIndex": 5535
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "false",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": false
              }
            },
            "typeParams": []
          },
          {
            "name": "ok",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 198,
              "col": 2,
              "byteIndex": 5564
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "false",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": false
              }
            },
            "typeParams": []
          },
          {
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 199,
              "col": 2,
              "byteIndex": 5586
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "ConnectRpcFailureError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "ConnectRpcFailureError"
              }
            },
            "typeParams": []
          },
          {
            "name": "statusCode",
            "jsDoc": {
              "doc": "Status code (null for network failures)."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 202,
              "col": 2,
              "byteIndex": 5679
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "typeParams": []
          },
          {
            "name": "statusMessage",
            "jsDoc": {
              "doc": "Status message (null for network failures)."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 205,
              "col": 2,
              "byteIndex": 5762
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "typeParams": []
          },
          {
            "name": "headers",
            "jsDoc": {
              "doc": "Response headers (null for failures)."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 208,
              "col": 2,
              "byteIndex": 5842
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "typeParams": []
          },
          {
            "name": "trailers",
            "jsDoc": {
              "doc": "Response trailers (null for failures)."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 211,
              "col": 2,
              "byteIndex": 5917
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "typeParams": []
          },
          {
            "name": "raw",
            "jsDoc": {
              "doc": "No raw response (request didn't reach server)."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 214,
              "col": 2,
              "byteIndex": 6001
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "typeParams": []
          },
          {
            "name": "data",
            "jsDoc": {
              "doc": "No data (request didn't reach server)."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 217,
              "col": 2,
              "byteIndex": 6072
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": [
          {
            "name": "T",
            "default": {
              "repr": "any",
              "kind": "keyword",
              "keyword": "any"
            }
          }
        ]
      }
    },
    {
      "name": "ConnectRpcResponseSuccess",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
        "line": 133,
        "col": 0,
        "byteIndex": 3877
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Successful ConnectRPC response (statusCode === 0)."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "ConnectRpcResponseBase",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": [
                {
                  "repr": "T",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "T"
                  }
                }
              ],
              "typeName": "ConnectRpcResponseBase"
            }
          }
        ],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "processed",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 135,
              "col": 2,
              "byteIndex": 3969
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "true",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": true
              }
            },
            "typeParams": []
          },
          {
            "name": "ok",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 136,
              "col": 2,
              "byteIndex": 3997
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "true",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": true
              }
            },
            "typeParams": []
          },
          {
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 137,
              "col": 2,
              "byteIndex": 4018
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "typeParams": []
          },
          {
            "name": "statusCode",
            "jsDoc": {
              "doc": "gRPC status code (always 0 for success)."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 140,
              "col": 2,
              "byteIndex": 4093
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "0",
              "kind": "literal",
              "literal": {
                "kind": "number",
                "number": 0
              }
            },
            "typeParams": []
          },
          {
            "name": "statusMessage",
            "jsDoc": {
              "doc": "Status message (null for successful responses)."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 143,
              "col": 2,
              "byteIndex": 4177
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "typeParams": []
          },
          {
            "name": "headers",
            "jsDoc": {
              "doc": "Response headers."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 146,
              "col": 2,
              "byteIndex": 4237
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "Headers",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "Headers"
              }
            },
            "typeParams": []
          },
          {
            "name": "trailers",
            "jsDoc": {
              "doc": "Response trailers (sent at end of RPC)."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 149,
              "col": 2,
              "byteIndex": 4316
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "Headers",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "Headers"
              }
            },
            "typeParams": []
          },
          {
            "name": "raw",
            "jsDoc": {
              "doc": "Raw protobuf Message object."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 152,
              "col": 2,
              "byteIndex": 4385
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "unknown",
              "kind": "keyword",
              "keyword": "unknown"
            },
            "typeParams": []
          },
          {
            "name": "data",
            "jsDoc": {
              "doc": "Response data as plain JavaScript object (JSON representation)."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 155,
              "col": 2,
              "byteIndex": 4484
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "",
              "kind": "union",
              "union": [
                {
                  "repr": "T",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "T"
                  }
                },
                {
                  "repr": "null",
                  "kind": "keyword",
                  "keyword": "null"
                }
              ]
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": [
          {
            "name": "T",
            "default": {
              "repr": "any",
              "kind": "keyword",
              "keyword": "any"
            }
          }
        ]
      }
    },
    {
      "name": "FileDescriptorSet",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/types.ts",
        "line": 28,
        "col": 0,
        "byteIndex": 705
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "FileDescriptorSet message type from @bufbuild/protobuf.\nThis is the decoded protobuf message containing file descriptors."
      },
      "kind": "typeAlias",
      "typeAliasDef": {
        "tsType": {
          "repr": "MessageShape",
          "kind": "typeRef",
          "typeRef": {
            "typeParams": [
              {
                "repr": "FileDescriptorSetSchema",
                "kind": "typeQuery",
                "typeQuery": "FileDescriptorSetSchema"
              }
            ],
            "typeName": "MessageShape"
          }
        },
        "typeParams": []
      }
    },
    {
      "name": "ConnectProtocol",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/types.ts",
        "line": 33,
        "col": 0,
        "byteIndex": 837
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Protocol to use for ConnectRPC transport."
      },
      "kind": "typeAlias",
      "typeAliasDef": {
        "tsType": {
          "repr": "",
          "kind": "union",
          "union": [
            {
              "repr": "connect",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "connect"
              }
            },
            {
              "repr": "grpc",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "grpc"
              }
            },
            {
              "repr": "grpc-web",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "grpc-web"
              }
            }
          ]
        },
        "typeParams": []
      }
    },
    {
      "name": "HttpVersion",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/types.ts",
        "line": 38,
        "col": 0,
        "byteIndex": 940
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "HTTP version for transport."
      },
      "kind": "typeAlias",
      "typeAliasDef": {
        "tsType": {
          "repr": "",
          "kind": "union",
          "union": [
            {
              "repr": "1.1",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "1.1"
              }
            },
            {
              "repr": "2",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "2"
              }
            }
          ]
        },
        "typeParams": []
      }
    },
    {
      "name": "TlsConfig",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/types.ts",
        "line": 43,
        "col": 0,
        "byteIndex": 1037
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "TLS configuration for ConnectRPC connections."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "rootCerts",
            "jsDoc": {
              "doc": "Root CA certificate (PEM format)."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/types.ts",
              "line": 45,
              "col": 2,
              "byteIndex": 1111
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "Uint8Array",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "Uint8Array"
              }
            },
            "typeParams": []
          },
          {
            "name": "clientCert",
            "jsDoc": {
              "doc": "Client certificate (PEM format)."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/types.ts",
              "line": 47,
              "col": 2,
              "byteIndex": 1188
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "Uint8Array",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "Uint8Array"
              }
            },
            "typeParams": []
          },
          {
            "name": "clientKey",
            "jsDoc": {
              "doc": "Client private key (PEM format)."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/types.ts",
              "line": 49,
              "col": 2,
              "byteIndex": 1266
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "Uint8Array",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "Uint8Array"
              }
            },
            "typeParams": []
          },
          {
            "name": "insecure",
            "jsDoc": {
              "doc": "Skip server certificate verification (use only for testing)."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/types.ts",
              "line": 51,
              "col": 2,
              "byteIndex": 1371
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "boolean",
              "kind": "keyword",
              "keyword": "boolean"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "ConnectRpcConnectionConfig",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/types.ts",
        "line": 59,
        "col": 0,
        "byteIndex": 1522
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "ConnectRPC connection configuration.\n\nExtends CommonConnectionConfig with ConnectRPC-specific options."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "CommonConnectionConfig",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "CommonConnectionConfig"
            }
          }
        ],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "protocol",
            "jsDoc": {
              "doc": "Protocol to use.",
              "tags": [
                {
                  "kind": "unsupported",
                  "value": "@default \"http\""
                }
              ]
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/types.ts",
              "line": 64,
              "col": 2,
              "byteIndex": 1656
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "",
              "kind": "union",
              "union": [
                {
                  "repr": "http",
                  "kind": "literal",
                  "literal": {
                    "kind": "string",
                    "string": "http"
                  }
                },
                {
                  "repr": "https",
                  "kind": "literal",
                  "literal": {
                    "kind": "string",
                    "string": "https"
                  }
                }
              ]
            },
            "typeParams": []
          },
          {
            "name": "path",
            "jsDoc": {
              "doc": "Service path prefix.",
              "tags": [
                {
                  "kind": "unsupported",
                  "value": "@default \"\""
                }
              ]
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/types.ts",
              "line": 70,
              "col": 2,
              "byteIndex": 1752
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "ConnectRpcClientConfig",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/types.ts",
        "line": 76,
        "col": 0,
        "byteIndex": 1838
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Configuration for creating a ConnectRPC client."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "CommonOptions",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "CommonOptions"
            }
          }
        ],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "url",
            "jsDoc": {
              "doc": "Server URL for ConnectRPC connections.\n\nCan be a URL string or a connection configuration object.\n",
              "tags": [
                {
                  "kind": "example",
                  "doc": "String URL\n```ts\nimport type { ConnectRpcClientConfig } from \"@probitas/client-connectrpc\";\nconst config: ConnectRpcClientConfig = { url: \"http://localhost:50051\" };\n```\n"
                },
                {
                  "kind": "example",
                  "doc": "Connection config object\n```ts\nimport type { ConnectRpcClientConfig } from \"@probitas/client-connectrpc\";\nconst config: ConnectRpcClientConfig = {\n  url: { host: \"grpc.example.com\", port: 443, protocol: \"https\" },\n};\n```"
                }
              ]
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/types.ts",
              "line": 96,
              "col": 2,
              "byteIndex": 2507
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "",
              "kind": "union",
              "union": [
                {
                  "repr": "string",
                  "kind": "keyword",
                  "keyword": "string"
                },
                {
                  "repr": "ConnectRpcConnectionConfig",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "ConnectRpcConnectionConfig"
                  }
                }
              ]
            },
            "typeParams": []
          },
          {
            "name": "protocol",
            "jsDoc": {
              "doc": "Protocol to use.",
              "tags": [
                {
                  "kind": "unsupported",
                  "value": "@default \"grpc\""
                }
              ]
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/types.ts",
              "line": 102,
              "col": 2,
              "byteIndex": 2616
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "ConnectProtocol",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "ConnectProtocol"
              }
            },
            "typeParams": []
          },
          {
            "name": "httpVersion",
            "jsDoc": {
              "doc": "HTTP version to use.",
              "tags": [
                {
                  "kind": "unsupported",
                  "value": "@default \"2\""
                }
              ]
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/types.ts",
              "line": 108,
              "col": 2,
              "byteIndex": 2712
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "HttpVersion",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "HttpVersion"
              }
            },
            "typeParams": []
          },
          {
            "name": "tls",
            "jsDoc": {
              "doc": "TLS configuration. If not provided, uses insecure credentials."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/types.ts",
              "line": 111,
              "col": 2,
              "byteIndex": 2823
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "TlsConfig",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "TlsConfig"
              }
            },
            "typeParams": []
          },
          {
            "name": "metadata",
            "jsDoc": {
              "doc": "Default metadata to send with every request."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/types.ts",
              "line": 114,
              "col": 2,
              "byteIndex": 2906
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "HeadersInit",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "HeadersInit"
              }
            },
            "typeParams": []
          },
          {
            "name": "schema",
            "jsDoc": {
              "doc": "Schema resolution configuration.\n- \"reflection\": Use Server Reflection to discover services dynamically (default)\n- string: Path to FileDescriptorSet binary file (from `buf build --output set.binpb`)\n- Uint8Array: FileDescriptorSet binary data\n- FileDescriptorSet: Pre-parsed FileDescriptorSet message object",
              "tags": [
                {
                  "kind": "unsupported",
                  "value": "@default \"reflection\""
                }
              ]
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/types.ts",
              "line": 124,
              "col": 2,
              "byteIndex": 3315
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "",
              "kind": "union",
              "union": [
                {
                  "repr": "reflection",
                  "kind": "literal",
                  "literal": {
                    "kind": "string",
                    "string": "reflection"
                  }
                },
                {
                  "repr": "string",
                  "kind": "keyword",
                  "keyword": "string"
                },
                {
                  "repr": "Uint8Array",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "Uint8Array"
                  }
                },
                {
                  "repr": "FileDescriptorSet",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "FileDescriptorSet"
                  }
                }
              ]
            },
            "typeParams": []
          },
          {
            "name": "useBinaryFormat",
            "jsDoc": {
              "doc": "Whether to use binary format for messages.",
              "tags": [
                {
                  "kind": "unsupported",
                  "value": "@default true"
                }
              ]
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/types.ts",
              "line": 130,
              "col": 2,
              "byteIndex": 3471
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "boolean",
              "kind": "keyword",
              "keyword": "boolean"
            },
            "typeParams": []
          },
          {
            "name": "throwOnError",
            "jsDoc": {
              "doc": "Whether to throw ConnectRpcError on non-OK responses (code !== 0) or failures.\nCan be overridden per-request via ConnectRpcOptions.throwOnError.",
              "tags": [
                {
                  "kind": "unsupported",
                  "value": "@default false"
                }
              ]
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/types.ts",
              "line": 137,
              "col": 2,
              "byteIndex": 3697
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "boolean",
              "kind": "keyword",
              "keyword": "boolean"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "ConnectRpcOptions",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/types.ts",
        "line": 143,
        "col": 0,
        "byteIndex": 3785
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Options for individual ConnectRPC calls."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "CommonOptions",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "CommonOptions"
            }
          }
        ],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "metadata",
            "jsDoc": {
              "doc": "Metadata to send with the request."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/types.ts",
              "line": 145,
              "col": 2,
              "byteIndex": 3890
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "HeadersInit",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "HeadersInit"
              }
            },
            "typeParams": []
          },
          {
            "name": "throwOnError",
            "jsDoc": {
              "doc": "Whether to throw ConnectRpcError on non-OK responses (code !== 0) or failures.\nOverrides ConnectRpcClientConfig.throwOnError.",
              "tags": [
                {
                  "kind": "unsupported",
                  "value": "@default false (inherited from client config if not specified)"
                }
              ]
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/types.ts",
              "line": 152,
              "col": 2,
              "byteIndex": 4142
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "boolean",
              "kind": "keyword",
              "keyword": "boolean"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "ServiceInfo",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/types.ts",
        "line": 158,
        "col": 0,
        "byteIndex": 4226
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Service information from reflection."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "name",
            "jsDoc": {
              "doc": "Fully qualified service name (e.g., \"echo.EchoService\")"
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/types.ts",
              "line": 160,
              "col": 2,
              "byteIndex": 4324
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "typeParams": []
          },
          {
            "name": "file",
            "jsDoc": {
              "doc": "Proto file name"
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/types.ts",
              "line": 162,
              "col": 2,
              "byteIndex": 4374
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "MethodInfo",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/types.ts",
        "line": 168,
        "col": 0,
        "byteIndex": 4447
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Method information from reflection."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "name",
            "jsDoc": {
              "doc": "Method name (e.g., \"Echo\")"
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/types.ts",
              "line": 170,
              "col": 2,
              "byteIndex": 4515
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "typeParams": []
          },
          {
            "name": "localName",
            "jsDoc": {
              "doc": "Local name (camelCase)"
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/types.ts",
              "line": 172,
              "col": 2,
              "byteIndex": 4572
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "typeParams": []
          },
          {
            "name": "kind",
            "jsDoc": {
              "doc": "Method kind"
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/types.ts",
              "line": 174,
              "col": 2,
              "byteIndex": 4623
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "",
              "kind": "union",
              "union": [
                {
                  "repr": "unary",
                  "kind": "literal",
                  "literal": {
                    "kind": "string",
                    "string": "unary"
                  }
                },
                {
                  "repr": "server_streaming",
                  "kind": "literal",
                  "literal": {
                    "kind": "string",
                    "string": "server_streaming"
                  }
                },
                {
                  "repr": "client_streaming",
                  "kind": "literal",
                  "literal": {
                    "kind": "string",
                    "string": "client_streaming"
                  }
                },
                {
                  "repr": "bidi_streaming",
                  "kind": "literal",
                  "literal": {
                    "kind": "string",
                    "string": "bidi_streaming"
                  }
                }
              ]
            },
            "typeParams": []
          },
          {
            "name": "inputType",
            "jsDoc": {
              "doc": "Input message type name"
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/types.ts",
              "line": 180,
              "col": 2,
              "byteIndex": 4761
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "typeParams": []
          },
          {
            "name": "outputType",
            "jsDoc": {
              "doc": "Output message type name"
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/types.ts",
              "line": 182,
              "col": 2,
              "byteIndex": 4825
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "typeParams": []
          },
          {
            "name": "idempotent",
            "jsDoc": {
              "doc": "Whether the method is idempotent"
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/types.ts",
              "line": 184,
              "col": 2,
              "byteIndex": 4898
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "boolean",
              "kind": "keyword",
              "keyword": "boolean"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "ServiceDetail",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/types.ts",
        "line": 190,
        "col": 0,
        "byteIndex": 4972
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Detailed service information."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "name",
            "jsDoc": {
              "doc": "Service name"
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/types.ts",
              "line": 192,
              "col": 2,
              "byteIndex": 5029
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "typeParams": []
          },
          {
            "name": "fullName",
            "jsDoc": {
              "doc": "Fully qualified service name"
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/types.ts",
              "line": 194,
              "col": 2,
              "byteIndex": 5092
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "typeParams": []
          },
          {
            "name": "packageName",
            "jsDoc": {
              "doc": "Package name"
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/types.ts",
              "line": 196,
              "col": 2,
              "byteIndex": 5143
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "typeParams": []
          },
          {
            "name": "protoFile",
            "jsDoc": {
              "doc": "Proto file name"
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/types.ts",
              "line": 198,
              "col": 2,
              "byteIndex": 5200
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "typeParams": []
          },
          {
            "name": "methods",
            "jsDoc": {
              "doc": "All methods"
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/types.ts",
              "line": 200,
              "col": 2,
              "byteIndex": 5251
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "",
              "kind": "typeOperator",
              "typeOperator": {
                "operator": "readonly",
                "tsType": {
                  "repr": "",
                  "kind": "array",
                  "array": {
                    "repr": "MethodInfo",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": null,
                      "typeName": "MethodInfo"
                    }
                  }
                }
              }
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "ConnectRpcStatus",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/status.ts",
        "line": 13,
        "col": 13,
        "byteIndex": 317
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "ConnectRPC/gRPC status codes.\nThese codes are used by both gRPC and ConnectRPC protocols."
      },
      "kind": "variable",
      "variableDef": {
        "tsType": {
          "repr": "",
          "kind": "typeLiteral",
          "typeLiteral": {
            "constructors": [],
            "methods": [],
            "properties": [
              {
                "name": "OK",
                "location": {
                  "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/status.ts",
                  "line": 14,
                  "col": 2,
                  "byteIndex": 340
                },
                "params": [],
                "computed": false,
                "optional": false,
                "tsType": {
                  "repr": "number",
                  "kind": "keyword",
                  "keyword": "number"
                },
                "typeParams": []
              },
              {
                "name": "CANCELLED",
                "location": {
                  "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/status.ts",
                  "line": 15,
                  "col": 2,
                  "byteIndex": 349
                },
                "params": [],
                "computed": false,
                "optional": false,
                "tsType": {
                  "repr": "number",
                  "kind": "keyword",
                  "keyword": "number"
                },
                "typeParams": []
              },
              {
                "name": "UNKNOWN",
                "location": {
                  "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/status.ts",
                  "line": 16,
                  "col": 2,
                  "byteIndex": 365
                },
                "params": [],
                "computed": false,
                "optional": false,
                "tsType": {
                  "repr": "number",
                  "kind": "keyword",
                  "keyword": "number"
                },
                "typeParams": []
              },
              {
                "name": "INVALID_ARGUMENT",
                "location": {
                  "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/status.ts",
                  "line": 17,
                  "col": 2,
                  "byteIndex": 379
                },
                "params": [],
                "computed": false,
                "optional": false,
                "tsType": {
                  "repr": "number",
                  "kind": "keyword",
                  "keyword": "number"
                },
                "typeParams": []
              },
              {
                "name": "DEADLINE_EXCEEDED",
                "location": {
                  "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/status.ts",
                  "line": 18,
                  "col": 2,
                  "byteIndex": 402
                },
                "params": [],
                "computed": false,
                "optional": false,
                "tsType": {
                  "repr": "number",
                  "kind": "keyword",
                  "keyword": "number"
                },
                "typeParams": []
              },
              {
                "name": "NOT_FOUND",
                "location": {
                  "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/status.ts",
                  "line": 19,
                  "col": 2,
                  "byteIndex": 426
                },
                "params": [],
                "computed": false,
                "optional": false,
                "tsType": {
                  "repr": "number",
                  "kind": "keyword",
                  "keyword": "number"
                },
                "typeParams": []
              },
              {
                "name": "ALREADY_EXISTS",
                "location": {
                  "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/status.ts",
                  "line": 20,
                  "col": 2,
                  "byteIndex": 442
                },
                "params": [],
                "computed": false,
                "optional": false,
                "tsType": {
                  "repr": "number",
                  "kind": "keyword",
                  "keyword": "number"
                },
                "typeParams": []
              },
              {
                "name": "PERMISSION_DENIED",
                "location": {
                  "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/status.ts",
                  "line": 21,
                  "col": 2,
                  "byteIndex": 463
                },
                "params": [],
                "computed": false,
                "optional": false,
                "tsType": {
                  "repr": "number",
                  "kind": "keyword",
                  "keyword": "number"
                },
                "typeParams": []
              },
              {
                "name": "RESOURCE_EXHAUSTED",
                "location": {
                  "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/status.ts",
                  "line": 22,
                  "col": 2,
                  "byteIndex": 487
                },
                "params": [],
                "computed": false,
                "optional": false,
                "tsType": {
                  "repr": "number",
                  "kind": "keyword",
                  "keyword": "number"
                },
                "typeParams": []
              },
              {
                "name": "FAILED_PRECONDITION",
                "location": {
                  "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/status.ts",
                  "line": 23,
                  "col": 2,
                  "byteIndex": 512
                },
                "params": [],
                "computed": false,
                "optional": false,
                "tsType": {
                  "repr": "number",
                  "kind": "keyword",
                  "keyword": "number"
                },
                "typeParams": []
              },
              {
                "name": "ABORTED",
                "location": {
                  "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/status.ts",
                  "line": 24,
                  "col": 2,
                  "byteIndex": 538
                },
                "params": [],
                "computed": false,
                "optional": false,
                "tsType": {
                  "repr": "number",
                  "kind": "keyword",
                  "keyword": "number"
                },
                "typeParams": []
              },
              {
                "name": "OUT_OF_RANGE",
                "location": {
                  "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/status.ts",
                  "line": 25,
                  "col": 2,
                  "byteIndex": 553
                },
                "params": [],
                "computed": false,
                "optional": false,
                "tsType": {
                  "repr": "number",
                  "kind": "keyword",
                  "keyword": "number"
                },
                "typeParams": []
              },
              {
                "name": "UNIMPLEMENTED",
                "location": {
                  "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/status.ts",
                  "line": 26,
                  "col": 2,
                  "byteIndex": 573
                },
                "params": [],
                "computed": false,
                "optional": false,
                "tsType": {
                  "repr": "number",
                  "kind": "keyword",
                  "keyword": "number"
                },
                "typeParams": []
              },
              {
                "name": "INTERNAL",
                "location": {
                  "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/status.ts",
                  "line": 27,
                  "col": 2,
                  "byteIndex": 594
                },
                "params": [],
                "computed": false,
                "optional": false,
                "tsType": {
                  "repr": "number",
                  "kind": "keyword",
                  "keyword": "number"
                },
                "typeParams": []
              },
              {
                "name": "UNAVAILABLE",
                "location": {
                  "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/status.ts",
                  "line": 28,
                  "col": 2,
                  "byteIndex": 610
                },
                "params": [],
                "computed": false,
                "optional": false,
                "tsType": {
                  "repr": "number",
                  "kind": "keyword",
                  "keyword": "number"
                },
                "typeParams": []
              },
              {
                "name": "DATA_LOSS",
                "location": {
                  "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/status.ts",
                  "line": 29,
                  "col": 2,
                  "byteIndex": 629
                },
                "params": [],
                "computed": false,
                "optional": false,
                "tsType": {
                  "repr": "number",
                  "kind": "keyword",
                  "keyword": "number"
                },
                "typeParams": []
              },
              {
                "name": "UNAUTHENTICATED",
                "location": {
                  "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/status.ts",
                  "line": 30,
                  "col": 2,
                  "byteIndex": 646
                },
                "params": [],
                "computed": false,
                "optional": false,
                "tsType": {
                  "repr": "number",
                  "kind": "keyword",
                  "keyword": "number"
                },
                "typeParams": []
              }
            ],
            "callSignatures": [],
            "indexSignatures": []
          }
        },
        "kind": "const"
      }
    },
    {
      "name": "ConnectRpcStatusCode",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/status.ts",
        "line": 37,
        "col": 0,
        "byteIndex": 766
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "ConnectRPC/gRPC status code type.\nDerived from ConnectRpcStatus values."
      },
      "kind": "typeAlias",
      "typeAliasDef": {
        "tsType": {
          "repr": "",
          "kind": "indexedAccess",
          "indexedAccess": {
            "readonly": false,
            "objType": {
              "repr": "",
              "kind": "parenthesized",
              "parenthesized": {
                "repr": "ConnectRpcStatus",
                "kind": "typeQuery",
                "typeQuery": "ConnectRpcStatus"
              }
            },
            "indexType": {
              "repr": "",
              "kind": "typeOperator",
              "typeOperator": {
                "operator": "keyof",
                "tsType": {
                  "repr": "ConnectRpcStatus",
                  "kind": "typeQuery",
                  "typeQuery": "ConnectRpcStatus"
                }
              }
            }
          }
        },
        "typeParams": []
      }
    },
    {
      "name": "getStatusName",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/status.ts",
        "line": 58,
        "col": 0,
        "byteIndex": 1349
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Get the name of a ConnectRPC/gRPC status code.\n",
        "tags": [
          {
            "kind": "example",
            "doc": "```typescript\ngetStatusName(0);  // \"OK\"\ngetStatusName(5);  // \"NOT_FOUND\"\ngetStatusName(16); // \"UNAUTHENTICATED\"\n```"
          }
        ]
      },
      "kind": "function",
      "functionDef": {
        "params": [
          {
            "kind": "identifier",
            "name": "code",
            "optional": false,
            "tsType": {
              "repr": "ConnectRpcStatusCode",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "ConnectRpcStatusCode"
              }
            }
          }
        ],
        "returnType": {
          "repr": "string",
          "kind": "keyword",
          "keyword": "string"
        },
        "hasBody": true,
        "isAsync": false,
        "isGenerator": false,
        "typeParams": []
      }
    },
    {
      "name": "isConnectRpcStatusCode",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/status.ts",
        "line": 72,
        "col": 0,
        "byteIndex": 1677
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Check if a number is a valid ConnectRPC/gRPC status code.\n",
        "tags": [
          {
            "kind": "example",
            "doc": "```typescript\nisConnectRpcStatusCode(0);   // true\nisConnectRpcStatusCode(16);  // true\nisConnectRpcStatusCode(99);  // false\n```"
          }
        ]
      },
      "kind": "function",
      "functionDef": {
        "params": [
          {
            "kind": "identifier",
            "name": "code",
            "optional": false,
            "tsType": {
              "repr": "number",
              "kind": "keyword",
              "keyword": "number"
            }
          }
        ],
        "returnType": {
          "repr": "code is ConnectRpcStatusCode",
          "kind": "typePredicate",
          "typePredicate": {
            "asserts": false,
            "param": {
              "type": "identifier",
              "name": "code"
            },
            "type": {
              "repr": "ConnectRpcStatusCode",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "ConnectRpcStatusCode"
              }
            }
          }
        },
        "hasBody": true,
        "isAsync": false,
        "isGenerator": false,
        "typeParams": []
      }
    },
    {
      "name": "ConnectRpcNetworkError",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/errors.ts",
        "line": 18,
        "col": 0,
        "byteIndex": 578
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "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, timeout, etc.).\nUnlike ConnectRpcError, this error means the server was never reached."
      },
      "kind": "class",
      "classDef": {
        "isAbstract": false,
        "constructors": [
          {
            "accessibility": null,
            "hasBody": true,
            "name": "constructor",
            "params": [
              {
                "kind": "identifier",
                "name": "message",
                "optional": false,
                "tsType": {
                  "repr": "string",
                  "kind": "keyword",
                  "keyword": "string"
                }
              },
              {
                "kind": "identifier",
                "name": "options",
                "optional": true,
                "tsType": {
                  "repr": "ErrorOptions",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "ErrorOptions"
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/errors.ts",
              "line": 22,
              "col": 2,
              "byteIndex": 750
            }
          }
        ],
        "properties": [
          {
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "isOverride": true,
            "name": "name",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/errors.ts",
              "line": 19,
              "col": 2,
              "byteIndex": 638
            }
          },
          {
            "tsType": {
              "repr": "connectrpc",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "connectrpc"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "isOverride": true,
            "name": "kind",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/errors.ts",
              "line": 20,
              "col": 2,
              "byteIndex": 699
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": "ClientError",
        "implements": [],
        "typeParams": [],
        "superTypeParams": []
      }
    },
    {
      "name": "ErrorDetail",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/errors.ts",
        "line": 33,
        "col": 0,
        "byteIndex": 1070
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Rich error detail from google.rpc.Status.\n\nConnectRPC errors can include structured details encoded in error responses.\nThese details follow the google.protobuf.Any format with a type URL and value."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "typeUrl",
            "jsDoc": {
              "doc": "Type URL identifying the error detail type.\nCommon types include:\n- \"type.googleapis.com/google.rpc.BadRequest\"\n- \"type.googleapis.com/google.rpc.DebugInfo\"\n- \"type.googleapis.com/google.rpc.RetryInfo\"\n- \"type.googleapis.com/google.rpc.QuotaFailure\""
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/errors.ts",
              "line": 42,
              "col": 2,
              "byteIndex": 1395
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "typeParams": []
          },
          {
            "name": "value",
            "jsDoc": {
              "doc": "Decoded error detail value.\nThe structure depends on the typeUrl."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/errors.ts",
              "line": 48,
              "col": 2,
              "byteIndex": 1512
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "unknown",
              "kind": "keyword",
              "keyword": "unknown"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "ConnectRpcErrorOptions",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/errors.ts",
        "line": 54,
        "col": 0,
        "byteIndex": 1593
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Options for ConnectRpcError construction."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "ErrorOptions",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "ErrorOptions"
            }
          }
        ],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "metadata",
            "jsDoc": {
              "doc": "Headers/metadata from the ConnectRPC response."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/errors.ts",
              "line": 58,
              "col": 2,
              "byteIndex": 1722
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "",
              "kind": "union",
              "union": [
                {
                  "repr": "Headers",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "Headers"
                  }
                },
                {
                  "repr": "null",
                  "kind": "keyword",
                  "keyword": "null"
                }
              ]
            },
            "typeParams": []
          },
          {
            "name": "details",
            "jsDoc": {
              "doc": "Rich error details from google.rpc.Status."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/errors.ts",
              "line": 63,
              "col": 2,
              "byteIndex": 1821
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "",
              "kind": "union",
              "union": [
                {
                  "repr": "",
                  "kind": "typeOperator",
                  "typeOperator": {
                    "operator": "readonly",
                    "tsType": {
                      "repr": "",
                      "kind": "array",
                      "array": {
                        "repr": "ErrorDetail",
                        "kind": "typeRef",
                        "typeRef": {
                          "typeParams": null,
                          "typeName": "ErrorDetail"
                        }
                      }
                    }
                  }
                },
                {
                  "repr": "null",
                  "kind": "keyword",
                  "keyword": "null"
                }
              ]
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "ConnectRpcError",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/errors.ts",
        "line": 71,
        "col": 0,
        "byteIndex": 1999
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Error class for ConnectRPC/gRPC errors.\n\nUse `statusCode` to distinguish between different gRPC error codes."
      },
      "kind": "class",
      "classDef": {
        "isAbstract": false,
        "constructors": [
          {
            "accessibility": null,
            "hasBody": true,
            "name": "constructor",
            "params": [
              {
                "kind": "identifier",
                "name": "message",
                "optional": false,
                "tsType": {
                  "repr": "string",
                  "kind": "keyword",
                  "keyword": "string"
                }
              },
              {
                "kind": "identifier",
                "name": "statusCode",
                "optional": false,
                "tsType": {
                  "repr": "ConnectRpcStatusCode",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "ConnectRpcStatusCode"
                  }
                }
              },
              {
                "kind": "identifier",
                "name": "statusMessage",
                "optional": false,
                "tsType": {
                  "repr": "string",
                  "kind": "keyword",
                  "keyword": "string"
                }
              },
              {
                "kind": "identifier",
                "name": "options",
                "optional": true,
                "tsType": {
                  "repr": "ConnectRpcErrorOptions",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "ConnectRpcErrorOptions"
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/errors.ts",
              "line": 79,
              "col": 2,
              "byteIndex": 2317
            }
          }
        ],
        "properties": [
          {
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "isOverride": true,
            "name": "name",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/errors.ts",
              "line": 72,
              "col": 2,
              "byteIndex": 2052
            }
          },
          {
            "tsType": {
              "repr": "connectrpc",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "connectrpc"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "isOverride": true,
            "name": "kind",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/errors.ts",
              "line": 73,
              "col": 2,
              "byteIndex": 2106
            }
          },
          {
            "tsType": {
              "repr": "ConnectRpcStatusCode",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "ConnectRpcStatusCode"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "statusCode",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/errors.ts",
              "line": 74,
              "col": 2,
              "byteIndex": 2156
            }
          },
          {
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "statusMessage",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/errors.ts",
              "line": 75,
              "col": 2,
              "byteIndex": 2201
            }
          },
          {
            "tsType": {
              "repr": "",
              "kind": "union",
              "union": [
                {
                  "repr": "Headers",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "Headers"
                  }
                },
                {
                  "repr": "null",
                  "kind": "keyword",
                  "keyword": "null"
                }
              ]
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "metadata",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/errors.ts",
              "line": 76,
              "col": 2,
              "byteIndex": 2235
            }
          },
          {
            "tsType": {
              "repr": "",
              "kind": "typeOperator",
              "typeOperator": {
                "operator": "readonly",
                "tsType": {
                  "repr": "",
                  "kind": "array",
                  "array": {
                    "repr": "ErrorDetail",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": null,
                      "typeName": "ErrorDetail"
                    }
                  }
                }
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "details",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/errors.ts",
              "line": 77,
              "col": 2,
              "byteIndex": 2272
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": "ClientError",
        "implements": [],
        "typeParams": [],
        "superTypeParams": []
      }
    },
    {
      "name": "fromConnectError",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/errors.ts",
        "line": 100,
        "col": 0,
        "byteIndex": 2922
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Convert ConnectRPC's ConnectError to ConnectRpcError.\n",
        "tags": [
          {
            "kind": "param",
            "name": "error",
            "doc": "- The ConnectError from @connectrpc/connect"
          },
          {
            "kind": "param",
            "name": "metadata",
            "doc": "- Optional metadata from the response"
          },
          {
            "kind": "return",
            "doc": "ConnectRpcError with statusCode for discrimination"
          }
        ]
      },
      "kind": "function",
      "functionDef": {
        "params": [
          {
            "kind": "identifier",
            "name": "error",
            "optional": false,
            "tsType": {
              "repr": "ConnectError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "ConnectError"
              }
            }
          },
          {
            "kind": "identifier",
            "name": "metadata",
            "optional": true,
            "tsType": {
              "repr": "Headers",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "Headers"
              }
            }
          }
        ],
        "returnType": {
          "repr": "ConnectRpcError",
          "kind": "typeRef",
          "typeRef": {
            "typeParams": null,
            "typeName": "ConnectRpcError"
          }
        },
        "hasBody": true,
        "isAsync": false,
        "isGenerator": false,
        "typeParams": []
      }
    },
    {
      "name": "ConnectRpcFailureError",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/errors.ts",
        "line": 130,
        "col": 0,
        "byteIndex": 3917
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Error types that indicate the operation was not processed.\nThese are errors that occur before the request reaches the server."
      },
      "kind": "typeAlias",
      "typeAliasDef": {
        "tsType": {
          "repr": "",
          "kind": "union",
          "union": [
            {
              "repr": "ConnectRpcNetworkError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "ConnectRpcNetworkError"
              }
            },
            {
              "repr": "AbortError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "AbortError"
              }
            },
            {
              "repr": "TimeoutError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "TimeoutError"
              }
            }
          ]
        },
        "typeParams": []
      }
    },
    {
      "name": "ConnectRpcErrorType",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
        "line": 28,
        "col": 0,
        "byteIndex": 798
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "ConnectRPC error type union.\n\nContains either:\n- ConnectRpcError: gRPC error returned by the server\n- ConnectRpcNetworkError: Network-level failure before reaching the server"
      },
      "kind": "typeAlias",
      "typeAliasDef": {
        "tsType": {
          "repr": "",
          "kind": "union",
          "union": [
            {
              "repr": "ConnectRpcError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "ConnectRpcError"
              }
            },
            {
              "repr": "ConnectRpcNetworkError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "ConnectRpcNetworkError"
              }
            }
          ]
        },
        "typeParams": []
      }
    },
    {
      "name": "ConnectRpcResponseSuccessParams",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
        "line": 241,
        "col": 0,
        "byteIndex": 6734
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Parameters for creating a successful ConnectRpcResponse."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "response",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 242,
              "col": 2,
              "byteIndex": 6796
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "",
              "kind": "union",
              "union": [
                {
                  "repr": "T",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "T"
                  }
                },
                {
                  "repr": "null",
                  "kind": "keyword",
                  "keyword": "null"
                }
              ]
            },
            "typeParams": []
          },
          {
            "name": "schema",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 243,
              "col": 2,
              "byteIndex": 6827
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "",
              "kind": "union",
              "union": [
                {
                  "repr": "DescMessage",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "DescMessage"
                  }
                },
                {
                  "repr": "null",
                  "kind": "keyword",
                  "keyword": "null"
                }
              ]
            },
            "typeParams": []
          },
          {
            "name": "headers",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 244,
              "col": 2,
              "byteIndex": 6866
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "Headers",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "Headers"
              }
            },
            "typeParams": []
          },
          {
            "name": "trailers",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 245,
              "col": 2,
              "byteIndex": 6895
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "Headers",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "Headers"
              }
            },
            "typeParams": []
          },
          {
            "name": "duration",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 246,
              "col": 2,
              "byteIndex": 6925
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "number",
              "kind": "keyword",
              "keyword": "number"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": [
          {
            "name": "T",
            "default": {
              "repr": "any",
              "kind": "keyword",
              "keyword": "any"
            }
          }
        ]
      }
    },
    {
      "name": "ConnectRpcResponseErrorParams",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
        "line": 252,
        "col": 0,
        "byteIndex": 7019
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Parameters for creating an error ConnectRpcResponse."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 253,
              "col": 2,
              "byteIndex": 7070
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "ConnectError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "ConnectError"
              }
            },
            "typeParams": []
          },
          {
            "name": "rpcError",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 254,
              "col": 2,
              "byteIndex": 7102
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "ConnectRpcError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "ConnectRpcError"
              }
            },
            "typeParams": []
          },
          {
            "name": "headers",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 255,
              "col": 2,
              "byteIndex": 7140
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "Headers",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "Headers"
              }
            },
            "typeParams": []
          },
          {
            "name": "trailers",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 256,
              "col": 2,
              "byteIndex": 7169
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "Headers",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "Headers"
              }
            },
            "typeParams": []
          },
          {
            "name": "duration",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 257,
              "col": 2,
              "byteIndex": 7199
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "number",
              "kind": "keyword",
              "keyword": "number"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "ConnectRpcResponseFailureParams",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
        "line": 263,
        "col": 0,
        "byteIndex": 7294
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Parameters for creating a failure ConnectRpcResponse."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 264,
              "col": 2,
              "byteIndex": 7347
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "ConnectRpcFailureError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "ConnectRpcFailureError"
              }
            },
            "typeParams": []
          },
          {
            "name": "duration",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 265,
              "col": 2,
              "byteIndex": 7389
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "number",
              "kind": "keyword",
              "keyword": "number"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "ConnectRpcResponseSuccessImpl",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
        "line": 272,
        "col": 0,
        "byteIndex": 7488
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Implementation of ConnectRpcResponseSuccess.",
        "tags": [
          {
            "kind": "internal"
          }
        ]
      },
      "kind": "class",
      "classDef": {
        "isAbstract": false,
        "constructors": [
          {
            "accessibility": null,
            "hasBody": true,
            "name": "constructor",
            "params": [
              {
                "kind": "identifier",
                "name": "params",
                "optional": false,
                "tsType": {
                  "repr": "ConnectRpcResponseSuccessParams",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": [
                      {
                        "repr": "T",
                        "kind": "typeRef",
                        "typeRef": {
                          "typeParams": null,
                          "typeName": "T"
                        }
                      }
                    ],
                    "typeName": "ConnectRpcResponseSuccessParams"
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 286,
              "col": 2,
              "byteIndex": 7932
            }
          }
        ],
        "properties": [
          {
            "tsType": {
              "repr": "connectrpc",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "connectrpc"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "kind",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 274,
              "col": 2,
              "byteIndex": 7580
            }
          },
          {
            "tsType": {
              "repr": "true",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": true
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "processed",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 275,
              "col": 2,
              "byteIndex": 7621
            }
          },
          {
            "tsType": {
              "repr": "true",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": true
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "ok",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 276,
              "col": 2,
              "byteIndex": 7659
            }
          },
          {
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 277,
              "col": 2,
              "byteIndex": 7690
            }
          },
          {
            "tsType": {
              "repr": "0",
              "kind": "literal",
              "literal": {
                "kind": "number",
                "number": 0
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "statusCode",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 278,
              "col": 2,
              "byteIndex": 7715
            }
          },
          {
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "statusMessage",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 279,
              "col": 2,
              "byteIndex": 7751
            }
          },
          {
            "tsType": {
              "repr": "Headers",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "Headers"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "headers",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 280,
              "col": 2,
              "byteIndex": 7784
            }
          },
          {
            "tsType": {
              "repr": "Headers",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "Headers"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "trailers",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 281,
              "col": 2,
              "byteIndex": 7813
            }
          },
          {
            "tsType": {
              "repr": "number",
              "kind": "keyword",
              "keyword": "number"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "duration",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 282,
              "col": 2,
              "byteIndex": 7843
            }
          },
          {
            "tsType": {
              "repr": "",
              "kind": "union",
              "union": [
                {
                  "repr": "T",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "T"
                  }
                },
                {
                  "repr": "null",
                  "kind": "keyword",
                  "keyword": "null"
                }
              ]
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "data",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 283,
              "col": 2,
              "byteIndex": 7872
            }
          },
          {
            "tsType": {
              "repr": "",
              "kind": "union",
              "union": [
                {
                  "repr": "unknown",
                  "kind": "keyword",
                  "keyword": "unknown"
                },
                {
                  "repr": "null",
                  "kind": "keyword",
                  "keyword": "null"
                }
              ]
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "raw",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 284,
              "col": 2,
              "byteIndex": 7899
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": null,
        "implements": [
          {
            "repr": "ConnectRpcResponseSuccess",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": [
                {
                  "repr": "T",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "T"
                  }
                }
              ],
              "typeName": "ConnectRpcResponseSuccess"
            }
          }
        ],
        "typeParams": [
          {
            "name": "T"
          }
        ],
        "superTypeParams": []
      }
    },
    {
      "name": "ConnectRpcResponseErrorImpl",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
        "line": 318,
        "col": 0,
        "byteIndex": 8870
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Implementation of ConnectRpcResponseError.",
        "tags": [
          {
            "kind": "internal"
          }
        ]
      },
      "kind": "class",
      "classDef": {
        "isAbstract": false,
        "constructors": [
          {
            "accessibility": null,
            "hasBody": true,
            "name": "constructor",
            "params": [
              {
                "kind": "identifier",
                "name": "params",
                "optional": false,
                "tsType": {
                  "repr": "ConnectRpcResponseErrorParams",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "ConnectRpcResponseErrorParams"
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 332,
              "col": 2,
              "byteIndex": 9326
            }
          }
        ],
        "properties": [
          {
            "tsType": {
              "repr": "connectrpc",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "connectrpc"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "kind",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 320,
              "col": 2,
              "byteIndex": 8958
            }
          },
          {
            "tsType": {
              "repr": "true",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": true
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "processed",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 321,
              "col": 2,
              "byteIndex": 8999
            }
          },
          {
            "tsType": {
              "repr": "false",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": false
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "ok",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 322,
              "col": 2,
              "byteIndex": 9037
            }
          },
          {
            "tsType": {
              "repr": "ConnectRpcError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "ConnectRpcError"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 323,
              "col": 2,
              "byteIndex": 9069
            }
          },
          {
            "tsType": {
              "repr": "ConnectRpcStatusCode",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "ConnectRpcStatusCode"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "statusCode",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 324,
              "col": 2,
              "byteIndex": 9104
            }
          },
          {
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "statusMessage",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 325,
              "col": 2,
              "byteIndex": 9149
            }
          },
          {
            "tsType": {
              "repr": "Headers",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "Headers"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "headers",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 326,
              "col": 2,
              "byteIndex": 9183
            }
          },
          {
            "tsType": {
              "repr": "Headers",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "Headers"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "trailers",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 327,
              "col": 2,
              "byteIndex": 9212
            }
          },
          {
            "tsType": {
              "repr": "number",
              "kind": "keyword",
              "keyword": "number"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "duration",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 328,
              "col": 2,
              "byteIndex": 9242
            }
          },
          {
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "data",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 329,
              "col": 2,
              "byteIndex": 9271
            }
          },
          {
            "tsType": {
              "repr": "ConnectError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "ConnectError"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "raw",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 330,
              "col": 2,
              "byteIndex": 9295
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": null,
        "implements": [
          {
            "repr": "ConnectRpcResponseError",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": [
                {
                  "repr": "T",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "T"
                  }
                }
              ],
              "typeName": "ConnectRpcResponseError"
            }
          }
        ],
        "typeParams": [
          {
            "name": "T"
          }
        ],
        "superTypeParams": []
      }
    },
    {
      "name": "ConnectRpcResponseFailureImpl",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
        "line": 347,
        "col": 0,
        "byteIndex": 9733
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Implementation of ConnectRpcResponseFailure.",
        "tags": [
          {
            "kind": "internal"
          }
        ]
      },
      "kind": "class",
      "classDef": {
        "isAbstract": false,
        "constructors": [
          {
            "accessibility": null,
            "hasBody": true,
            "name": "constructor",
            "params": [
              {
                "kind": "identifier",
                "name": "params",
                "optional": false,
                "tsType": {
                  "repr": "ConnectRpcResponseFailureParams",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "ConnectRpcResponseFailureParams"
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 361,
              "col": 2,
              "byteIndex": 10174
            }
          }
        ],
        "properties": [
          {
            "tsType": {
              "repr": "connectrpc",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "connectrpc"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "kind",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 349,
              "col": 2,
              "byteIndex": 9825
            }
          },
          {
            "tsType": {
              "repr": "false",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": false
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "processed",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 350,
              "col": 2,
              "byteIndex": 9866
            }
          },
          {
            "tsType": {
              "repr": "false",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": false
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "ok",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 351,
              "col": 2,
              "byteIndex": 9905
            }
          },
          {
            "tsType": {
              "repr": "ConnectRpcFailureError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "ConnectRpcFailureError"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 352,
              "col": 2,
              "byteIndex": 9937
            }
          },
          {
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "statusCode",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 353,
              "col": 2,
              "byteIndex": 9979
            }
          },
          {
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "statusMessage",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 354,
              "col": 2,
              "byteIndex": 10009
            }
          },
          {
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "headers",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 355,
              "col": 2,
              "byteIndex": 10042
            }
          },
          {
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "trailers",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 356,
              "col": 2,
              "byteIndex": 10069
            }
          },
          {
            "tsType": {
              "repr": "number",
              "kind": "keyword",
              "keyword": "number"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "duration",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 357,
              "col": 2,
              "byteIndex": 10097
            }
          },
          {
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "data",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 358,
              "col": 2,
              "byteIndex": 10126
            }
          },
          {
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "raw",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/response.ts",
              "line": 359,
              "col": 2,
              "byteIndex": 10150
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": null,
        "implements": [
          {
            "repr": "ConnectRpcResponseFailure",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": [
                {
                  "repr": "T",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "T"
                  }
                }
              ],
              "typeName": "ConnectRpcResponseFailure"
            }
          }
        ],
        "typeParams": [
          {
            "name": "T"
          }
        ],
        "superTypeParams": []
      }
    },
    {
      "name": "ReflectionApi",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/client.ts",
        "line": 73,
        "col": 0,
        "byteIndex": 1960
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Reflection API for ConnectRPC client.\nOnly available when client is created with schema: \"reflection\"."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [],
        "constructors": [],
        "methods": [
          {
            "name": "listServices",
            "jsDoc": {
              "doc": "List all available services on the server.",
              "tags": [
                {
                  "kind": "throws",
                  "type": null,
                  "doc": "Error if reflection is not enabled"
                }
              ]
            },
            "kind": "method",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/client.ts",
              "line": 83,
              "col": 2,
              "byteIndex": 2182
            },
            "params": [],
            "optional": false,
            "returnType": {
              "repr": "Promise",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "",
                    "kind": "array",
                    "array": {
                      "repr": "ServiceInfo",
                      "kind": "typeRef",
                      "typeRef": {
                        "typeParams": null,
                        "typeName": "ServiceInfo"
                      }
                    }
                  }
                ],
                "typeName": "Promise"
              }
            },
            "typeParams": []
          },
          {
            "name": "getServiceInfo",
            "jsDoc": {
              "doc": "Get detailed information about a specific service.",
              "tags": [
                {
                  "kind": "param",
                  "name": "serviceName",
                  "doc": "- Fully qualified service name (e.g., \"echo.EchoService\")"
                },
                {
                  "kind": "throws",
                  "type": null,
                  "doc": "Error if reflection is not enabled"
                }
              ]
            },
            "kind": "method",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/client.ts",
              "line": 90,
              "col": 2,
              "byteIndex": 2423
            },
            "params": [
              {
                "kind": "identifier",
                "name": "serviceName",
                "optional": false,
                "tsType": {
                  "repr": "string",
                  "kind": "keyword",
                  "keyword": "string"
                }
              }
            ],
            "optional": false,
            "returnType": {
              "repr": "Promise",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "ServiceDetail",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": null,
                      "typeName": "ServiceDetail"
                    }
                  }
                ],
                "typeName": "Promise"
              }
            },
            "typeParams": []
          },
          {
            "name": "listMethods",
            "jsDoc": {
              "doc": "Get methods for a specific service.",
              "tags": [
                {
                  "kind": "param",
                  "name": "serviceName",
                  "doc": "- Fully qualified service name"
                },
                {
                  "kind": "throws",
                  "type": null,
                  "doc": "Error if reflection is not enabled"
                }
              ]
            },
            "kind": "method",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/client.ts",
              "line": 97,
              "col": 2,
              "byteIndex": 2643
            },
            "params": [
              {
                "kind": "identifier",
                "name": "serviceName",
                "optional": false,
                "tsType": {
                  "repr": "string",
                  "kind": "keyword",
                  "keyword": "string"
                }
              }
            ],
            "optional": false,
            "returnType": {
              "repr": "Promise",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "",
                    "kind": "array",
                    "array": {
                      "repr": "MethodInfo",
                      "kind": "typeRef",
                      "typeRef": {
                        "typeParams": null,
                        "typeName": "MethodInfo"
                      }
                    }
                  }
                ],
                "typeName": "Promise"
              }
            },
            "typeParams": []
          },
          {
            "name": "hasService",
            "jsDoc": {
              "doc": "Check if a service exists.",
              "tags": [
                {
                  "kind": "param",
                  "name": "serviceName",
                  "doc": "- Fully qualified service name"
                },
                {
                  "kind": "throws",
                  "type": null,
                  "doc": "Error if reflection is not enabled"
                }
              ]
            },
            "kind": "method",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/client.ts",
              "line": 104,
              "col": 2,
              "byteIndex": 2850
            },
            "params": [
              {
                "kind": "identifier",
                "name": "serviceName",
                "optional": false,
                "tsType": {
                  "repr": "string",
                  "kind": "keyword",
                  "keyword": "string"
                }
              }
            ],
            "optional": false,
            "returnType": {
              "repr": "Promise",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "boolean",
                    "kind": "keyword",
                    "keyword": "boolean"
                  }
                ],
                "typeName": "Promise"
              }
            },
            "typeParams": []
          }
        ],
        "properties": [
          {
            "name": "enabled",
            "jsDoc": {
              "doc": "Check if reflection is enabled."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/client.ts",
              "line": 77,
              "col": 2,
              "byteIndex": 2044
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "boolean",
              "kind": "keyword",
              "keyword": "boolean"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "ConnectRpcClient",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/client.ts",
        "line": 136,
        "col": 0,
        "byteIndex": 4080
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "ConnectRPC client interface.\n\n## Field Name Conventions\n\nThis client automatically handles field name conversion between protobuf and JavaScript:\n\n- **Request fields**: Accept both `snake_case` (protobuf style) and `camelCase` (JavaScript style)\n- **Response fields**: Converted to JavaScript conventions based on response type:\n  - `response.data`: Plain JSON object with `camelCase` field names (no `$typeName`)\n  - `response.raw`: Original protobuf Message object with all metadata (includes `$typeName`)\n",
        "tags": [
          {
            "kind": "example",
            "doc": "```ts\nconst client = createConnectRpcClient({ url: \"http://localhost:50051\" });\n\n// Request: Both formats work\nawait client.call(\"echo.Echo\", \"echoWithDelay\", {\n  message: \"hello\",\n  delayMs: 100,        // camelCase (recommended)\n  // delay_ms: 100,    // snake_case also works\n});\n\n// Response: data is JSON, raw is protobuf Message\nconst response = await client.call(\"echo.Echo\", \"echo\", { message: \"test\" });\nconsole.log(response.data);  // { message: \"test\", metadata: {...} }\nconsole.log(response.raw);   // { $typeName: \"echo.EchoResponse\", message: \"test\", ... }\n```"
          }
        ]
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "AsyncDisposable",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "AsyncDisposable"
            }
          }
        ],
        "constructors": [],
        "methods": [
          {
            "name": "call",
            "jsDoc": {
              "doc": "Make a unary RPC call.",
              "tags": [
                {
                  "kind": "param",
                  "name": "serviceName",
                  "doc": "- Service name (e.g., \"echo.EchoService\")"
                },
                {
                  "kind": "param",
                  "name": "methodName",
                  "doc": "- Method name (e.g., \"echo\")"
                },
                {
                  "kind": "param",
                  "name": "request",
                  "doc": "- Request message"
                },
                {
                  "kind": "param",
                  "name": "options",
                  "doc": "- Call options"
                }
              ]
            },
            "kind": "method",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/client.ts",
              "line": 150,
              "col": 2,
              "byteIndex": 4553
            },
            "params": [
              {
                "kind": "identifier",
                "name": "serviceName",
                "optional": false,
                "tsType": {
                  "repr": "string",
                  "kind": "keyword",
                  "keyword": "string"
                }
              },
              {
                "kind": "identifier",
                "name": "methodName",
                "optional": false,
                "tsType": {
                  "repr": "string",
                  "kind": "keyword",
                  "keyword": "string"
                }
              },
              {
                "kind": "identifier",
                "name": "request",
                "optional": false,
                "tsType": {
                  "repr": "TRequest",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "TRequest"
                  }
                }
              },
              {
                "kind": "identifier",
                "name": "options",
                "optional": true,
                "tsType": {
                  "repr": "ConnectRpcOptions",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "ConnectRpcOptions"
                  }
                }
              }
            ],
            "optional": false,
            "returnType": {
              "repr": "Promise",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "ConnectRpcResponse",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": null,
                      "typeName": "ConnectRpcResponse"
                    }
                  }
                ],
                "typeName": "Promise"
              }
            },
            "typeParams": [
              {
                "name": "TRequest"
              }
            ]
          },
          {
            "name": "serverStream",
            "jsDoc": {
              "doc": "Make a server streaming RPC call.",
              "tags": [
                {
                  "kind": "param",
                  "name": "serviceName",
                  "doc": "- Service name"
                },
                {
                  "kind": "param",
                  "name": "methodName",
                  "doc": "- Method name"
                },
                {
                  "kind": "param",
                  "name": "request",
                  "doc": "- Request message"
                },
                {
                  "kind": "param",
                  "name": "options",
                  "doc": "- Call options"
                }
              ]
            },
            "kind": "method",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/client.ts",
              "line": 164,
              "col": 2,
              "byteIndex": 4911
            },
            "params": [
              {
                "kind": "identifier",
                "name": "serviceName",
                "optional": false,
                "tsType": {
                  "repr": "string",
                  "kind": "keyword",
                  "keyword": "string"
                }
              },
              {
                "kind": "identifier",
                "name": "methodName",
                "optional": false,
                "tsType": {
                  "repr": "string",
                  "kind": "keyword",
                  "keyword": "string"
                }
              },
              {
                "kind": "identifier",
                "name": "request",
                "optional": false,
                "tsType": {
                  "repr": "TRequest",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "TRequest"
                  }
                }
              },
              {
                "kind": "identifier",
                "name": "options",
                "optional": true,
                "tsType": {
                  "repr": "ConnectRpcOptions",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "ConnectRpcOptions"
                  }
                }
              }
            ],
            "optional": false,
            "returnType": {
              "repr": "AsyncIterable",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "ConnectRpcResponse",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": null,
                      "typeName": "ConnectRpcResponse"
                    }
                  }
                ],
                "typeName": "AsyncIterable"
              }
            },
            "typeParams": [
              {
                "name": "TRequest"
              }
            ]
          },
          {
            "name": "clientStream",
            "jsDoc": {
              "doc": "Make a client streaming RPC call.",
              "tags": [
                {
                  "kind": "param",
                  "name": "serviceName",
                  "doc": "- Service name"
                },
                {
                  "kind": "param",
                  "name": "methodName",
                  "doc": "- Method name"
                },
                {
                  "kind": "param",
                  "name": "requests",
                  "doc": "- Async iterable of request messages"
                },
                {
                  "kind": "param",
                  "name": "options",
                  "doc": "- Call options"
                }
              ]
            },
            "kind": "method",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/client.ts",
              "line": 178,
              "col": 2,
              "byteIndex": 5303
            },
            "params": [
              {
                "kind": "identifier",
                "name": "serviceName",
                "optional": false,
                "tsType": {
                  "repr": "string",
                  "kind": "keyword",
                  "keyword": "string"
                }
              },
              {
                "kind": "identifier",
                "name": "methodName",
                "optional": false,
                "tsType": {
                  "repr": "string",
                  "kind": "keyword",
                  "keyword": "string"
                }
              },
              {
                "kind": "identifier",
                "name": "requests",
                "optional": false,
                "tsType": {
                  "repr": "AsyncIterable",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": [
                      {
                        "repr": "TRequest",
                        "kind": "typeRef",
                        "typeRef": {
                          "typeParams": null,
                          "typeName": "TRequest"
                        }
                      }
                    ],
                    "typeName": "AsyncIterable"
                  }
                }
              },
              {
                "kind": "identifier",
                "name": "options",
                "optional": true,
                "tsType": {
                  "repr": "ConnectRpcOptions",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "ConnectRpcOptions"
                  }
                }
              }
            ],
            "optional": false,
            "returnType": {
              "repr": "Promise",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "ConnectRpcResponse",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": null,
                      "typeName": "ConnectRpcResponse"
                    }
                  }
                ],
                "typeName": "Promise"
              }
            },
            "typeParams": [
              {
                "name": "TRequest"
              }
            ]
          },
          {
            "name": "bidiStream",
            "jsDoc": {
              "doc": "Make a bidirectional streaming RPC call.",
              "tags": [
                {
                  "kind": "param",
                  "name": "serviceName",
                  "doc": "- Service name"
                },
                {
                  "kind": "param",
                  "name": "methodName",
                  "doc": "- Method name"
                },
                {
                  "kind": "param",
                  "name": "requests",
                  "doc": "- Async iterable of request messages"
                },
                {
                  "kind": "param",
                  "name": "options",
                  "doc": "- Call options"
                }
              ]
            },
            "kind": "method",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/client.ts",
              "line": 192,
              "col": 2,
              "byteIndex": 5712
            },
            "params": [
              {
                "kind": "identifier",
                "name": "serviceName",
                "optional": false,
                "tsType": {
                  "repr": "string",
                  "kind": "keyword",
                  "keyword": "string"
                }
              },
              {
                "kind": "identifier",
                "name": "methodName",
                "optional": false,
                "tsType": {
                  "repr": "string",
                  "kind": "keyword",
                  "keyword": "string"
                }
              },
              {
                "kind": "identifier",
                "name": "requests",
                "optional": false,
                "tsType": {
                  "repr": "AsyncIterable",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": [
                      {
                        "repr": "TRequest",
                        "kind": "typeRef",
                        "typeRef": {
                          "typeParams": null,
                          "typeName": "TRequest"
                        }
                      }
                    ],
                    "typeName": "AsyncIterable"
                  }
                }
              },
              {
                "kind": "identifier",
                "name": "options",
                "optional": true,
                "tsType": {
                  "repr": "ConnectRpcOptions",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "ConnectRpcOptions"
                  }
                }
              }
            ],
            "optional": false,
            "returnType": {
              "repr": "AsyncIterable",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "ConnectRpcResponse",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": null,
                      "typeName": "ConnectRpcResponse"
                    }
                  }
                ],
                "typeName": "AsyncIterable"
              }
            },
            "typeParams": [
              {
                "name": "TRequest"
              }
            ]
          },
          {
            "name": "close",
            "jsDoc": {
              "doc": "Close the client connection."
            },
            "kind": "method",
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/client.ts",
              "line": 202,
              "col": 2,
              "byteIndex": 5944
            },
            "params": [],
            "optional": false,
            "returnType": {
              "repr": "Promise",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "void",
                    "kind": "keyword",
                    "keyword": "void"
                  }
                ],
                "typeName": "Promise"
              }
            },
            "typeParams": []
          }
        ],
        "properties": [
          {
            "name": "config",
            "jsDoc": {
              "doc": "Client configuration"
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/client.ts",
              "line": 138,
              "col": 2,
              "byteIndex": 4172
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "ConnectRpcClientConfig",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "ConnectRpcClientConfig"
              }
            },
            "typeParams": []
          },
          {
            "name": "reflection",
            "jsDoc": {
              "doc": "Reflection API (only available when schema: \"reflection\")"
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/client.ts",
              "line": 141,
              "col": 2,
              "byteIndex": 4283
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "ReflectionApi",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "ReflectionApi"
              }
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "createConnectRpcClient",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-connectrpc/0.7.0/client.ts",
        "line": 399,
        "col": 0,
        "byteIndex": 11270
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Create a new ConnectRPC client instance.\n\nThe client supports multiple protocols (Connect, gRPC, gRPC-Web) and provides\nServer Reflection for runtime service discovery without compile-time code generation.\n",
        "tags": [
          {
            "kind": "param",
            "name": "config",
            "doc": "- Client configuration including server URL and protocol options"
          },
          {
            "kind": "return",
            "doc": "A new ConnectRPC client instance\n"
          },
          {
            "kind": "example",
            "doc": "Basic usage with reflection\n```ts\nimport { createConnectRpcClient } from \"@probitas/client-connectrpc\";\n\nconst client = createConnectRpcClient({\n  url: \"http://localhost:50051\",\n});\n\n// Call a method\nconst response = await client.call(\n  \"echo.EchoService\",\n  \"echo\",\n  { message: \"Hello!\" }\n);\nconsole.log(response.data);\n\nawait client.close();\n```\n"
          },
          {
            "kind": "example",
            "doc": "Service discovery with reflection\n```ts\nimport { createConnectRpcClient } from \"@probitas/client-connectrpc\";\n\nconst client = createConnectRpcClient({\n  url: \"http://localhost:50051\",\n});\n\n// Discover available services\nconst services = await client.reflection.listServices();\nconsole.log(\"Services:\", services);\n\n// Get method information\nconst info = await client.reflection.getServiceInfo(\"echo.EchoService\");\nconsole.log(\"Methods:\", info.methods);\n\nawait client.close();\n```\n"
          },
          {
            "kind": "example",
            "doc": "Using different protocols\n```ts\nimport { createConnectRpcClient } from \"@probitas/client-connectrpc\";\n\n// Connect protocol (HTTP/1.1 or HTTP/2)\nconst connectClient = createConnectRpcClient({\n  url: \"http://localhost:8080\",\n  protocol: \"connect\",\n});\n\n// gRPC protocol (HTTP/2 with binary protobuf)\nconst grpcClient = createConnectRpcClient({\n  url: \"http://localhost:50051\",\n  protocol: \"grpc\",\n});\n\n// gRPC-Web protocol (for browser compatibility)\nconst grpcWebClient = createConnectRpcClient({\n  url: \"http://localhost:8080\",\n  protocol: \"grpc-web\",\n});\n\nawait connectClient.close();\nawait grpcClient.close();\nawait grpcWebClient.close();\n```\n"
          },
          {
            "kind": "example",
            "doc": "Using connection config object\n```ts\nimport { createConnectRpcClient } from \"@probitas/client-connectrpc\";\n\nconst client = createConnectRpcClient({\n  url: {\n    host: \"grpc.example.com\",\n    port: 443,\n    protocol: \"https\",\n  },\n});\n\nawait client.close();\n```\n"
          },
          {
            "kind": "example",
            "doc": "Using `await using` for automatic cleanup\n```ts\nimport { createConnectRpcClient } from \"@probitas/client-connectrpc\";\n\nawait using client = createConnectRpcClient({\n  url: \"http://localhost:50051\",\n});\n\nconst res = await client.call(\"echo.EchoService\", \"echo\", { message: \"test\" });\n// Client automatically closed when scope exits\n```"
          }
        ]
      },
      "kind": "function",
      "functionDef": {
        "params": [
          {
            "kind": "identifier",
            "name": "config",
            "optional": false,
            "tsType": {
              "repr": "ConnectRpcClientConfig",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "ConnectRpcClientConfig"
              }
            }
          }
        ],
        "returnType": {
          "repr": "ConnectRpcClient",
          "kind": "typeRef",
          "typeRef": {
            "typeParams": null,
            "typeName": "ConnectRpcClient"
          }
        },
        "hasBody": true,
        "isAsync": false,
        "isGenerator": false,
        "typeParams": []
      }
    }
  ]
}
