{
  "name": "client",
  "specifier": "@probitas/client",
  "version": "0.5.0",
  "moduleDoc": "Core utilities and types for Probitas client libraries.\n\nThis package provides shared types, error classes, and utilities used across\nall [`@probitas/*`](https://jsr.io/@probitas) client packages.\n\n## Features\n\n- **Common Options**: Shared configuration types like `CommonOptions` and `RetryOptions`\n- **Error Hierarchy**: Base error classes (`ClientError`, `ConnectionError`, `TimeoutError`, `AbortError`)\n\n## Installation\n\n```bash\ndeno add jsr:@probitas/client\n```\n\n## Usage\n\nThis package is typically used as a dependency by other client packages.\nEnd users rarely need to import from it directly.\n\n```ts\nimport type { CommonOptions, RetryOptions } from \"@probitas/client\";\nimport { ClientError, ConnectionError, TimeoutError } from \"@probitas/client\";\n\n// Use CommonOptions for timeout and abort signal support\nasync function fetchData(options?: CommonOptions) {\n  // Implementation with timeout and signal handling\n}\n\n// Catch and handle errors\ntry {\n  await fetchData({ timeout: 5000 });\n} catch (error) {\n  if (error instanceof TimeoutError) {\n    console.log(`Timed out after ${error.timeoutMs}ms`);\n  } else if (error instanceof ConnectionError) {\n    console.log(\"Failed to connect\");\n  }\n}\n```\n\n## Related Packages\n\n| Package | Description |\n|---------|-------------|\n| [`@probitas/client-http`](https://jsr.io/@probitas/client-http) | HTTP client |\n| [`@probitas/client-graphql`](https://jsr.io/@probitas/client-graphql) | GraphQL client |\n| [`@probitas/client-grpc`](https://jsr.io/@probitas/client-grpc) | gRPC client |\n| [`@probitas/client-connectrpc`](https://jsr.io/@probitas/client-connectrpc) | ConnectRPC client |\n| [`@probitas/client-sql-postgres`](https://jsr.io/@probitas/client-sql-postgres) | PostgreSQL client |\n| [`@probitas/client-sql-mysql`](https://jsr.io/@probitas/client-sql-mysql) | MySQL client |\n| [`@probitas/client-sql-sqlite`](https://jsr.io/@probitas/client-sql-sqlite) | SQLite client |\n| [`@probitas/client-sql-duckdb`](https://jsr.io/@probitas/client-sql-duckdb) | DuckDB client |\n| [`@probitas/client-deno-kv`](https://jsr.io/@probitas/client-deno-kv) | Deno KV client |\n| [`@probitas/client-redis`](https://jsr.io/@probitas/client-redis) | Redis client |\n| [`@probitas/client-mongodb`](https://jsr.io/@probitas/client-mongodb) | MongoDB client |\n| [`@probitas/client-rabbitmq`](https://jsr.io/@probitas/client-rabbitmq) | RabbitMQ client |\n| [`@probitas/client-sqs`](https://jsr.io/@probitas/client-sqs) | AWS SQS client |\n\n## Links\n\n- [GitHub Repository](https://github.com/probitas-test/probitas-client)\n- [Probitas Framework](https://github.com/probitas-test/probitas)\n",
  "exports": [
    {
      "name": "CommonConnectionConfig",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client/0.5.0/types.ts",
        "line": 29,
        "col": 0,
        "byteIndex": 829
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Common connection configuration shared across all network clients.\n\nThis interface provides a unified way to configure connection parameters\nfor all network-based clients. Each client extends this with service-specific\noptions while maintaining a consistent base.\n",
        "tags": [
          {
            "kind": "example",
            "doc": "Use with string URL\n```ts\nimport { createHttpClient } from \"@probitas/client-http\";\nconst client = createHttpClient({ url: \"http://localhost:3000\" });\nawait client[Symbol.asyncDispose]();\n```\n"
          },
          {
            "kind": "example",
            "doc": "Use with config object\n```ts\nimport { createHttpClient } from \"@probitas/client-http\";\nconst client = createHttpClient({\n  url: {\n    host: \"api.example.com\",\n    port: 443,\n    username: \"user\",\n    password: \"secret\",\n  },\n});\nawait client[Symbol.asyncDispose]();\n```"
          }
        ]
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "host",
            "jsDoc": {
              "doc": "Hostname or IP address.",
              "tags": [
                {
                  "kind": "unsupported",
                  "value": "@default \"localhost\""
                }
              ]
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client/0.5.0/types.ts",
              "line": 34,
              "col": 2,
              "byteIndex": 940
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "typeParams": []
          },
          {
            "name": "port",
            "jsDoc": {
              "doc": "Port number. Each service has its own default."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client/0.5.0/types.ts",
              "line": 39,
              "col": 2,
              "byteIndex": 1031
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "number",
              "kind": "keyword",
              "keyword": "number"
            },
            "typeParams": []
          },
          {
            "name": "username",
            "jsDoc": {
              "doc": "Username for authentication."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client/0.5.0/types.ts",
              "line": 44,
              "col": 2,
              "byteIndex": 1104
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "typeParams": []
          },
          {
            "name": "password",
            "jsDoc": {
              "doc": "Password for authentication."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client/0.5.0/types.ts",
              "line": 49,
              "col": 2,
              "byteIndex": 1181
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "RetryOptions",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client/0.5.0/types.ts",
        "line": 55,
        "col": 0,
        "byteIndex": 1252
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Retry configuration options."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "maxAttempts",
            "jsDoc": {
              "doc": "Maximum number of attempts (1 = no retry).",
              "tags": [
                {
                  "kind": "unsupported",
                  "value": "@default 1"
                }
              ]
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client/0.5.0/types.ts",
              "line": 60,
              "col": 2,
              "byteIndex": 1362
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "number",
              "kind": "keyword",
              "keyword": "number"
            },
            "typeParams": []
          },
          {
            "name": "backoff",
            "jsDoc": {
              "doc": "Backoff strategy.",
              "tags": [
                {
                  "kind": "unsupported",
                  "value": "@default \"exponential\""
                }
              ]
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client/0.5.0/types.ts",
              "line": 66,
              "col": 2,
              "byteIndex": 1459
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "",
              "kind": "union",
              "union": [
                {
                  "repr": "linear",
                  "kind": "literal",
                  "literal": {
                    "kind": "string",
                    "string": "linear"
                  }
                },
                {
                  "repr": "exponential",
                  "kind": "literal",
                  "literal": {
                    "kind": "string",
                    "string": "exponential"
                  }
                }
              ]
            },
            "typeParams": []
          },
          {
            "name": "initialDelay",
            "jsDoc": {
              "doc": "Initial delay in milliseconds.",
              "tags": [
                {
                  "kind": "unsupported",
                  "value": "@default 1000"
                }
              ]
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client/0.5.0/types.ts",
              "line": 72,
              "col": 2,
              "byteIndex": 1574
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "number",
              "kind": "keyword",
              "keyword": "number"
            },
            "typeParams": []
          },
          {
            "name": "maxDelay",
            "jsDoc": {
              "doc": "Maximum delay in milliseconds.",
              "tags": [
                {
                  "kind": "unsupported",
                  "value": "@default 30000"
                }
              ]
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client/0.5.0/types.ts",
              "line": 78,
              "col": 2,
              "byteIndex": 1677
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "number",
              "kind": "keyword",
              "keyword": "number"
            },
            "typeParams": []
          },
          {
            "name": "retryOn",
            "jsDoc": {
              "doc": "Function to determine if the error should trigger a retry."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client/0.5.0/types.ts",
              "line": 83,
              "col": 2,
              "byteIndex": 1784
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "",
              "kind": "fnOrConstructor",
              "fnOrConstructor": {
                "constructor": false,
                "tsType": {
                  "repr": "boolean",
                  "kind": "keyword",
                  "keyword": "boolean"
                },
                "params": [
                  {
                    "kind": "identifier",
                    "name": "error",
                    "optional": false,
                    "tsType": {
                      "repr": "Error",
                      "kind": "typeRef",
                      "typeRef": {
                        "typeParams": null,
                        "typeName": "Error"
                      }
                    }
                  }
                ],
                "typeParams": []
              }
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "CommonOptions",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client/0.5.0/types.ts",
        "line": 89,
        "col": 0,
        "byteIndex": 1886
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Common options shared across all clients."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "timeout",
            "jsDoc": {
              "doc": "Timeout in milliseconds."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client/0.5.0/types.ts",
              "line": 93,
              "col": 2,
              "byteIndex": 1963
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "number",
              "kind": "keyword",
              "keyword": "number"
            },
            "typeParams": []
          },
          {
            "name": "signal",
            "jsDoc": {
              "doc": "AbortSignal for cancellation."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client/0.5.0/types.ts",
              "line": 98,
              "col": 2,
              "byteIndex": 2040
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "AbortSignal",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "AbortSignal"
              }
            },
            "typeParams": []
          },
          {
            "name": "retry",
            "jsDoc": {
              "doc": "Retry configuration."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client/0.5.0/types.ts",
              "line": 103,
              "col": 2,
              "byteIndex": 2112
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "RetryOptions",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "RetryOptions"
              }
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "ClientResult",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client/0.5.0/types.ts",
        "line": 157,
        "col": 0,
        "byteIndex": 3577
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Base interface for all client result types.\n\nAll client operation results (responses, query results, etc.) extend this interface,\nproviding a consistent structure across all Probitas clients. The `kind` property\nserves as a discriminator for type-safe switch statements.\n\nThis mirrors the design of {@link ClientError} where `kind` is used instead of `type`\nfor consistency across the framework.\n",
        "tags": [
          {
            "kind": "example",
            "doc": "```ts\nimport type { ClientResult } from \"@probitas/client\";\n\ninterface HttpResponse extends ClientResult {\n  readonly kind: \"http\";\n  readonly status: number;\n}\n\ninterface SqlQueryResult extends ClientResult {\n  readonly kind: \"sql\";\n  readonly rowCount: number;\n}\n\ntype MyResult = HttpResponse | SqlQueryResult;\n\nfunction handleResult(result: MyResult) {\n  // Check if request reached the server\n  if (!result.processed) {\n    console.error(\"Network failure:\", result.error);\n    return;\n  }\n\n  // Check if operation succeeded\n  if (!result.ok) {\n    console.error(\"Operation failed:\", result.error);\n    return;\n  }\n\n  // Type narrowing by kind\n  switch (result.kind) {\n    case \"http\":\n      console.log(`HTTP ${result.status} in ${result.duration}ms`);\n      break;\n    case \"sql\":\n      console.log(`${result.rowCount} rows in ${result.duration}ms`);\n      break;\n  }\n}\n```"
          }
        ]
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "kind",
            "jsDoc": {
              "doc": "Result kind discriminator.\n\nThe `kind` property is typed as `string` to allow client-specific packages\nto define their own result kinds without modifying this core package.\nSubinterfaces can narrow the type using literal types with `as const`."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client/0.5.0/types.ts",
              "line": 165,
              "col": 2,
              "byteIndex": 3891
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "typeParams": []
          },
          {
            "name": "processed",
            "jsDoc": {
              "doc": "Whether the operation was processed by the server.\n\n- `true`: Server received and processed the request (success or error response)\n- `false`: Request failed before reaching the server (network error, timeout, etc.)\n\nUse this to distinguish between \"server returned an error\" and \"couldn't reach server\"."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client/0.5.0/types.ts",
              "line": 175,
              "col": 2,
              "byteIndex": 4262
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "boolean",
              "kind": "keyword",
              "keyword": "boolean"
            },
            "typeParams": []
          },
          {
            "name": "ok",
            "jsDoc": {
              "doc": "Whether the operation succeeded.\n\nFor HTTP responses, this corresponds to status 200-299.\nFor database operations, this indicates successful execution.\nAlways `false` when `processed` is `false`."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client/0.5.0/types.ts",
              "line": 184,
              "col": 2,
              "byteIndex": 4526
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "boolean",
              "kind": "keyword",
              "keyword": "boolean"
            },
            "typeParams": []
          },
          {
            "name": "error",
            "jsDoc": {
              "doc": "Error that occurred during the operation (null if successful).\n\nContains the error when `ok` is `false`. The specific error type depends\non the client kind (e.g., HttpError, GraphqlError, SqlError)."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client/0.5.0/types.ts",
              "line": 192,
              "col": 2,
              "byteIndex": 4781
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "",
              "kind": "union",
              "union": [
                {
                  "repr": "Error",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "Error"
                  }
                },
                {
                  "repr": "null",
                  "kind": "keyword",
                  "keyword": "null"
                }
              ]
            },
            "typeParams": []
          },
          {
            "name": "duration",
            "jsDoc": {
              "doc": "Operation duration in milliseconds.\n\nMeasured from operation start to completion, useful for performance analysis\nand timeout monitoring."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client/0.5.0/types.ts",
              "line": 200,
              "col": 2,
              "byteIndex": 4983
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "number",
              "kind": "keyword",
              "keyword": "number"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "ClientError",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client/0.5.0/errors.ts",
        "line": 8,
        "col": 0,
        "byteIndex": 275
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Base error class for all client errors.\n\nThe `kind` property is typed as `string` to allow client-specific packages\nto define their own error kinds without modifying this core package.\nSubclasses can narrow the type using literal types with `as const`."
      },
      "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": "assign",
                "left": {
                  "kind": "identifier",
                  "name": "kind",
                  "optional": false,
                  "tsType": {
                    "repr": "string",
                    "kind": "keyword",
                    "keyword": "string"
                  }
                },
                "right": "unknown",
                "tsType": null
              },
              {
                "kind": "identifier",
                "name": "options",
                "optional": true,
                "tsType": {
                  "repr": "ErrorOptions",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "ErrorOptions"
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client/0.5.0/errors.ts",
              "line": 12,
              "col": 2,
              "byteIndex": 394
            }
          }
        ],
        "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/0.5.0/errors.ts",
              "line": 9,
              "col": 2,
              "byteIndex": 318
            }
          },
          {
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "kind",
            "location": {
              "filename": "https://jsr.io/@probitas/client/0.5.0/errors.ts",
              "line": 10,
              "col": 2,
              "byteIndex": 368
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": "Error",
        "implements": [],
        "typeParams": [],
        "superTypeParams": []
      }
    },
    {
      "name": "ConnectionError",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client/0.5.0/errors.ts",
        "line": 25,
        "col": 0,
        "byteIndex": 615
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Error thrown when a connection cannot be established."
      },
      "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/0.5.0/errors.ts",
              "line": 29,
              "col": 2,
              "byteIndex": 765
            }
          }
        ],
        "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/0.5.0/errors.ts",
              "line": 26,
              "col": 2,
              "byteIndex": 668
            }
          },
          {
            "tsType": {
              "repr": "connection",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "connection"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "isOverride": true,
            "name": "kind",
            "location": {
              "filename": "https://jsr.io/@probitas/client/0.5.0/errors.ts",
              "line": 27,
              "col": 2,
              "byteIndex": 714
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": "ClientError",
        "implements": [],
        "typeParams": [],
        "superTypeParams": []
      }
    },
    {
      "name": "TimeoutError",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client/0.5.0/errors.ts",
        "line": 37,
        "col": 0,
        "byteIndex": 923
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Error thrown when an operation times out."
      },
      "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": "timeoutMs",
                "optional": false,
                "tsType": {
                  "repr": "number",
                  "kind": "keyword",
                  "keyword": "number"
                }
              },
              {
                "kind": "identifier",
                "name": "options",
                "optional": true,
                "tsType": {
                  "repr": "ErrorOptions",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "ErrorOptions"
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client/0.5.0/errors.ts",
              "line": 42,
              "col": 2,
              "byteIndex": 1094
            }
          }
        ],
        "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/0.5.0/errors.ts",
              "line": 38,
              "col": 2,
              "byteIndex": 973
            }
          },
          {
            "tsType": {
              "repr": "timeout",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "timeout"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "isOverride": true,
            "name": "kind",
            "location": {
              "filename": "https://jsr.io/@probitas/client/0.5.0/errors.ts",
              "line": 39,
              "col": 2,
              "byteIndex": 1016
            }
          },
          {
            "tsType": {
              "repr": "number",
              "kind": "keyword",
              "keyword": "number"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "timeoutMs",
            "location": {
              "filename": "https://jsr.io/@probitas/client/0.5.0/errors.ts",
              "line": 40,
              "col": 2,
              "byteIndex": 1063
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": "ClientError",
        "implements": [],
        "typeParams": [],
        "superTypeParams": []
      }
    },
    {
      "name": "AbortError",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client/0.5.0/errors.ts",
        "line": 51,
        "col": 0,
        "byteIndex": 1317
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Error thrown when an operation is aborted via AbortSignal."
      },
      "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/0.5.0/errors.ts",
              "line": 55,
              "col": 2,
              "byteIndex": 1452
            }
          }
        ],
        "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/0.5.0/errors.ts",
              "line": 52,
              "col": 2,
              "byteIndex": 1365
            }
          },
          {
            "tsType": {
              "repr": "abort",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "abort"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "isOverride": true,
            "name": "kind",
            "location": {
              "filename": "https://jsr.io/@probitas/client/0.5.0/errors.ts",
              "line": 53,
              "col": 2,
              "byteIndex": 1406
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": "ClientError",
        "implements": [],
        "typeParams": [],
        "superTypeParams": []
      }
    }
  ]
}
