{
  "name": "client-sql-postgres",
  "specifier": "@probitas/client-sql-postgres",
  "version": "0.5.0",
  "moduleDoc": "PostgreSQL client for [Probitas](https://github.com/probitas-test/probitas) scenario testing framework.\n\nThis package provides a PostgreSQL client designed for integration testing,\nwith transaction support and LISTEN/NOTIFY capabilities.\n\n## Features\n\n- **Query Execution**: Parameterized queries with type-safe results\n- **Transactions**: Full transaction support with isolation levels\n- **LISTEN/NOTIFY**: Real-time notifications for async testing\n- **COPY Protocol**: High-performance bulk data loading\n- **Connection Pooling**: Configurable pool with idle timeout\n- **Resource Management**: Implements `AsyncDisposable` for proper cleanup\n\n## Installation\n\n```bash\ndeno add jsr:@probitas/client-sql-postgres\n```\n\n## Quick Start\n\n```ts\nimport { createPostgresClient } from \"@probitas/client-sql-postgres\";\n\nconst client = await createPostgresClient({\n  url: \"postgres://user:pass@localhost:5432/mydb\",\n});\n\n// Query with parameters\nconst result = await client.query<{ id: number; name: string }>(\n  \"SELECT id, name FROM users WHERE active = $1\",\n  [true]\n);\nconsole.log(result.rows);\n\n// Get first row\nconst user = await client.queryOne<{ id: number; name: string }>(\n  \"SELECT * FROM users WHERE id = $1\",\n  [1]\n);\n\nawait client.close();\n```\n\n## Transactions\n\n```ts\nimport { createPostgresClient } from \"@probitas/client-sql-postgres\";\nimport type { SqlTransaction } from \"@probitas/client-sql\";\n\nconst client = await createPostgresClient({\n  url: \"postgres://localhost:5432/testdb\",\n});\n\nawait client.transaction(async (tx: SqlTransaction) => {\n  await tx.query(\"INSERT INTO accounts (id, balance) VALUES ($1, $2)\", [1, 100]);\n  await tx.query(\"INSERT INTO accounts (id, balance) VALUES ($1, $2)\", [2, 200]);\n  // Automatically committed if no error, rolled back on exception\n}, { isolationLevel: \"serializable\" });\n\nawait client.close();\n```\n\n## LISTEN/NOTIFY\n\n```ts\nimport { createPostgresClient } from \"@probitas/client-sql-postgres\";\n\nconst client = await createPostgresClient({\n  url: \"postgres://localhost:5432/testdb\",\n});\n\n// Listen for notifications\nconst listener = await client.listen(\"events\");\nfor await (const notification of listener) {\n  console.log(\"Received:\", notification.payload);\n  break;\n}\n\n// Send notification\nawait client.notify(\"events\", JSON.stringify({ type: \"created\", id: 123 }));\n\nawait client.close();\n```\n\n## Using with `using` Statement\n\n```ts\nimport { createPostgresClient } from \"@probitas/client-sql-postgres\";\n\nawait using client = await createPostgresClient({\n  url: \"postgres://localhost:5432/testdb\",\n});\n\nconst result = await client.query(\"SELECT 1 as n\");\n// Client automatically closed when block exits\n```\n\n## Related Packages\n\n| Package | Description |\n|---------|-------------|\n| [`@probitas/client-sql`](https://jsr.io/@probitas/client-sql) | Common SQL types and utilities |\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\n## Links\n\n- [GitHub Repository](https://github.com/probitas-test/probitas-client)\n- [Probitas Framework](https://github.com/probitas-test/probitas)\n- [PostgreSQL](https://www.postgresql.org/)\n",
  "exports": [
    {
      "name": "PostgresClient",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/client.ts",
        "line": 28,
        "col": 0,
        "byteIndex": 751
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "PostgreSQL client interface."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "AsyncDisposable",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "AsyncDisposable"
            }
          }
        ],
        "constructors": [],
        "methods": [
          {
            "name": "query",
            "jsDoc": {
              "doc": "Execute a SQL query.\n",
              "tags": [
                {
                  "kind": "param",
                  "name": "sql",
                  "doc": "- SQL query string"
                },
                {
                  "kind": "param",
                  "name": "params",
                  "doc": "- Optional query parameters"
                },
                {
                  "kind": "param",
                  "name": "options",
                  "doc": "- Optional query options"
                }
              ]
            },
            "kind": "method",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/client.ts",
              "line": 43,
              "col": 2,
              "byteIndex": 1160
            },
            "params": [
              {
                "kind": "identifier",
                "name": "sql",
                "optional": false,
                "tsType": {
                  "repr": "string",
                  "kind": "keyword",
                  "keyword": "string"
                }
              },
              {
                "kind": "identifier",
                "name": "params",
                "optional": true,
                "tsType": {
                  "repr": "",
                  "kind": "array",
                  "array": {
                    "repr": "unknown",
                    "kind": "keyword",
                    "keyword": "unknown"
                  }
                }
              },
              {
                "kind": "identifier",
                "name": "options",
                "optional": true,
                "tsType": {
                  "repr": "SqlQueryOptions",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "SqlQueryOptions"
                  }
                }
              }
            ],
            "optional": false,
            "returnType": {
              "repr": "Promise",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "SqlQueryResult",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": [
                        {
                          "repr": "T",
                          "kind": "typeRef",
                          "typeRef": {
                            "typeParams": null,
                            "typeName": "T"
                          }
                        }
                      ],
                      "typeName": "SqlQueryResult"
                    }
                  }
                ],
                "typeName": "Promise"
              }
            },
            "typeParams": [
              {
                "name": "T",
                "default": {
                  "repr": "Record",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": [
                      {
                        "repr": "string",
                        "kind": "keyword",
                        "keyword": "string"
                      },
                      {
                        "repr": "any",
                        "kind": "keyword",
                        "keyword": "any"
                      }
                    ],
                    "typeName": "Record"
                  }
                }
              }
            ]
          },
          {
            "name": "queryOne",
            "jsDoc": {
              "doc": "Execute a query and return the first row or undefined.\n",
              "tags": [
                {
                  "kind": "param",
                  "name": "sql",
                  "doc": "- SQL query string"
                },
                {
                  "kind": "param",
                  "name": "params",
                  "doc": "- Optional query parameters"
                },
                {
                  "kind": "param",
                  "name": "options",
                  "doc": "- Optional query options"
                }
              ]
            },
            "kind": "method",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/client.ts",
              "line": 57,
              "col": 2,
              "byteIndex": 1542
            },
            "params": [
              {
                "kind": "identifier",
                "name": "sql",
                "optional": false,
                "tsType": {
                  "repr": "string",
                  "kind": "keyword",
                  "keyword": "string"
                }
              },
              {
                "kind": "identifier",
                "name": "params",
                "optional": true,
                "tsType": {
                  "repr": "",
                  "kind": "array",
                  "array": {
                    "repr": "unknown",
                    "kind": "keyword",
                    "keyword": "unknown"
                  }
                }
              },
              {
                "kind": "identifier",
                "name": "options",
                "optional": true,
                "tsType": {
                  "repr": "SqlQueryOptions",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "SqlQueryOptions"
                  }
                }
              }
            ],
            "optional": false,
            "returnType": {
              "repr": "Promise",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "",
                    "kind": "union",
                    "union": [
                      {
                        "repr": "T",
                        "kind": "typeRef",
                        "typeRef": {
                          "typeParams": null,
                          "typeName": "T"
                        }
                      },
                      {
                        "repr": "undefined",
                        "kind": "keyword",
                        "keyword": "undefined"
                      }
                    ]
                  }
                ],
                "typeName": "Promise"
              }
            },
            "typeParams": [
              {
                "name": "T",
                "default": {
                  "repr": "Record",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": [
                      {
                        "repr": "string",
                        "kind": "keyword",
                        "keyword": "string"
                      },
                      {
                        "repr": "any",
                        "kind": "keyword",
                        "keyword": "any"
                      }
                    ],
                    "typeName": "Record"
                  }
                }
              }
            ]
          },
          {
            "name": "transaction",
            "jsDoc": {
              "doc": "Execute a function within a transaction.\n\nThe transaction is automatically committed if the function completes successfully,\nor rolled back if the function throws an error.\n",
              "tags": [
                {
                  "kind": "param",
                  "name": "fn",
                  "doc": "- Function to execute within the transaction"
                },
                {
                  "kind": "param",
                  "name": "options",
                  "doc": "- Transaction options"
                }
              ]
            },
            "kind": "method",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/client.ts",
              "line": 72,
              "col": 2,
              "byteIndex": 1992
            },
            "params": [
              {
                "kind": "identifier",
                "name": "fn",
                "optional": false,
                "tsType": {
                  "repr": "",
                  "kind": "fnOrConstructor",
                  "fnOrConstructor": {
                    "constructor": false,
                    "tsType": {
                      "repr": "Promise",
                      "kind": "typeRef",
                      "typeRef": {
                        "typeParams": [
                          {
                            "repr": "T",
                            "kind": "typeRef",
                            "typeRef": {
                              "typeParams": null,
                              "typeName": "T"
                            }
                          }
                        ],
                        "typeName": "Promise"
                      }
                    },
                    "params": [
                      {
                        "kind": "identifier",
                        "name": "tx",
                        "optional": false,
                        "tsType": {
                          "repr": "SqlTransaction",
                          "kind": "typeRef",
                          "typeRef": {
                            "typeParams": null,
                            "typeName": "SqlTransaction"
                          }
                        }
                      }
                    ],
                    "typeParams": []
                  }
                }
              },
              {
                "kind": "identifier",
                "name": "options",
                "optional": true,
                "tsType": {
                  "repr": "SqlTransactionOptions",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "SqlTransactionOptions"
                  }
                }
              }
            ],
            "optional": false,
            "returnType": {
              "repr": "Promise",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "T",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": null,
                      "typeName": "T"
                    }
                  }
                ],
                "typeName": "Promise"
              }
            },
            "typeParams": [
              {
                "name": "T"
              }
            ]
          },
          {
            "name": "copyFrom",
            "jsDoc": {
              "doc": "Copy data from an iterable into a table using PostgreSQL COPY protocol.\n",
              "tags": [
                {
                  "kind": "param",
                  "name": "table",
                  "doc": "- Target table name"
                },
                {
                  "kind": "param",
                  "name": "data",
                  "doc": "- Async iterable of row arrays"
                },
                {
                  "kind": "return",
                  "doc": "Number of rows copied"
                }
              ]
            },
            "kind": "method",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/client.ts",
              "line": 84,
              "col": 2,
              "byteIndex": 2325
            },
            "params": [
              {
                "kind": "identifier",
                "name": "table",
                "optional": false,
                "tsType": {
                  "repr": "string",
                  "kind": "keyword",
                  "keyword": "string"
                }
              },
              {
                "kind": "identifier",
                "name": "data",
                "optional": false,
                "tsType": {
                  "repr": "AsyncIterable",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": [
                      {
                        "repr": "",
                        "kind": "array",
                        "array": {
                          "repr": "unknown",
                          "kind": "keyword",
                          "keyword": "unknown"
                        }
                      }
                    ],
                    "typeName": "AsyncIterable"
                  }
                }
              }
            ],
            "optional": false,
            "returnType": {
              "repr": "Promise",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "number",
                    "kind": "keyword",
                    "keyword": "number"
                  }
                ],
                "typeName": "Promise"
              }
            },
            "typeParams": []
          },
          {
            "name": "copyTo",
            "jsDoc": {
              "doc": "Copy data from a query result using PostgreSQL COPY protocol.\n",
              "tags": [
                {
                  "kind": "param",
                  "name": "query",
                  "doc": "- SQL query to copy from"
                },
                {
                  "kind": "return",
                  "doc": "Async iterable of row arrays"
                }
              ]
            },
            "kind": "method",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/client.ts",
              "line": 92,
              "col": 2,
              "byteIndex": 2572
            },
            "params": [
              {
                "kind": "identifier",
                "name": "query",
                "optional": false,
                "tsType": {
                  "repr": "string",
                  "kind": "keyword",
                  "keyword": "string"
                }
              }
            ],
            "optional": false,
            "returnType": {
              "repr": "AsyncIterable",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "",
                    "kind": "array",
                    "array": {
                      "repr": "unknown",
                      "kind": "keyword",
                      "keyword": "unknown"
                    }
                  }
                ],
                "typeName": "AsyncIterable"
              }
            },
            "typeParams": []
          },
          {
            "name": "listen",
            "jsDoc": {
              "doc": "Listen for notifications on a channel.\n",
              "tags": [
                {
                  "kind": "param",
                  "name": "channel",
                  "doc": "- Channel name to listen on"
                },
                {
                  "kind": "return",
                  "doc": "Async iterable of notifications"
                }
              ]
            },
            "kind": "method",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/client.ts",
              "line": 100,
              "col": 2,
              "byteIndex": 2779
            },
            "params": [
              {
                "kind": "identifier",
                "name": "channel",
                "optional": false,
                "tsType": {
                  "repr": "string",
                  "kind": "keyword",
                  "keyword": "string"
                }
              }
            ],
            "optional": false,
            "returnType": {
              "repr": "AsyncIterable",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "PostgresNotification",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": null,
                      "typeName": "PostgresNotification"
                    }
                  }
                ],
                "typeName": "AsyncIterable"
              }
            },
            "typeParams": []
          },
          {
            "name": "notify",
            "jsDoc": {
              "doc": "Send a notification on a channel.\n",
              "tags": [
                {
                  "kind": "param",
                  "name": "channel",
                  "doc": "- Channel name"
                },
                {
                  "kind": "param",
                  "name": "payload",
                  "doc": "- Optional notification payload"
                }
              ]
            },
            "kind": "method",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/client.ts",
              "line": 108,
              "col": 2,
              "byteIndex": 2987
            },
            "params": [
              {
                "kind": "identifier",
                "name": "channel",
                "optional": false,
                "tsType": {
                  "repr": "string",
                  "kind": "keyword",
                  "keyword": "string"
                }
              },
              {
                "kind": "identifier",
                "name": "payload",
                "optional": true,
                "tsType": {
                  "repr": "string",
                  "kind": "keyword",
                  "keyword": "string"
                }
              }
            ],
            "optional": false,
            "returnType": {
              "repr": "Promise",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "void",
                    "kind": "keyword",
                    "keyword": "void"
                  }
                ],
                "typeName": "Promise"
              }
            },
            "typeParams": []
          },
          {
            "name": "close",
            "jsDoc": {
              "doc": "Close the client and release all connections."
            },
            "kind": "method",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/client.ts",
              "line": 113,
              "col": 2,
              "byteIndex": 3111
            },
            "params": [],
            "optional": false,
            "returnType": {
              "repr": "Promise",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "void",
                    "kind": "keyword",
                    "keyword": "void"
                  }
                ],
                "typeName": "Promise"
              }
            },
            "typeParams": []
          }
        ],
        "properties": [
          {
            "name": "config",
            "jsDoc": {
              "doc": "The client configuration."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/client.ts",
              "line": 30,
              "col": 2,
              "byteIndex": 846
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "PostgresClientConfig",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "PostgresClientConfig"
              }
            },
            "typeParams": []
          },
          {
            "name": "dialect",
            "jsDoc": {
              "doc": "The database dialect."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/client.ts",
              "line": 33,
              "col": 2,
              "byteIndex": 919
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "postgres",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "postgres"
              }
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "createPostgresClient",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/client.ts",
        "line": 611,
        "col": 0,
        "byteIndex": 16596
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Create a new PostgreSQL client instance.\n\nThe client provides connection pooling, parameterized queries, transaction support,\nand PostgreSQL-specific features like COPY and LISTEN/NOTIFY.\n",
        "tags": [
          {
            "kind": "param",
            "name": "config",
            "doc": "- PostgreSQL client configuration"
          },
          {
            "kind": "return",
            "doc": "A promise resolving to a new PostgreSQL client instance\n"
          },
          {
            "kind": "example",
            "doc": "Using URL string\n```ts\nimport { createPostgresClient } from \"@probitas/client-sql-postgres\";\n\nconst client = await createPostgresClient({\n  url: \"postgres://user:pass@localhost:5432/mydb\",\n});\n\nconst result = await client.query(\"SELECT * FROM users WHERE id = $1\", [1]);\nif (result.ok) {\n  console.log(result.rows[0]);\n}\n\nawait client.close();\n```\n"
          },
          {
            "kind": "example",
            "doc": "Using connection config object\n```ts\nimport { createPostgresClient } from \"@probitas/client-sql-postgres\";\n\nconst client = await createPostgresClient({\n  url: {\n    host: \"localhost\",\n    port: 5432,\n    database: \"mydb\",\n    username: \"user\",\n    password: \"pass\",\n  },\n  pool: { max: 10 },\n  applicationName: \"my-app\",\n});\n\nawait client.close();\n```\n"
          },
          {
            "kind": "example",
            "doc": "Transaction with auto-commit/rollback\n```ts\nimport { createPostgresClient } from \"@probitas/client-sql-postgres\";\nimport type { SqlTransaction } from \"@probitas/client-sql\";\n\nconst client = await createPostgresClient({\n  url: \"postgres://localhost:5432/mydb\",\n});\n\nconst user = await client.transaction(async (tx: SqlTransaction) => {\n  await tx.query(\"INSERT INTO users (name) VALUES ($1)\", [\"John\"]);\n  return await tx.queryOne(\"SELECT * FROM users WHERE name = $1\", [\"John\"]);\n});\n\nawait client.close();\n```\n"
          },
          {
            "kind": "example",
            "doc": "LISTEN/NOTIFY for real-time events\n```ts\nimport { createPostgresClient } from \"@probitas/client-sql-postgres\";\n\nconst client = await createPostgresClient({\n  url: \"postgres://localhost:5432/mydb\",\n});\n\n// Listen for notifications\nfor await (const notification of client.listen(\"user_events\")) {\n  console.log(\"Received:\", notification.payload);\n}\n\n// In another session\nawait client.notify(\"user_events\", JSON.stringify({ userId: 123 }));\n\nawait client.close();\n```\n"
          },
          {
            "kind": "example",
            "doc": "Using `await using` for automatic cleanup\n```ts\nimport { createPostgresClient } from \"@probitas/client-sql-postgres\";\n\nawait using client = await createPostgresClient({\n  url: \"postgres://localhost:5432/mydb\",\n});\n\nconst result = await client.query(\"SELECT 1\");\n// Client automatically closed when scope exits\n```"
          }
        ]
      },
      "kind": "function",
      "functionDef": {
        "params": [
          {
            "kind": "identifier",
            "name": "config",
            "optional": false,
            "tsType": {
              "repr": "PostgresClientConfig",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "PostgresClientConfig"
              }
            }
          }
        ],
        "returnType": {
          "repr": "Promise",
          "kind": "typeRef",
          "typeRef": {
            "typeParams": [
              {
                "repr": "PostgresClient",
                "kind": "typeRef",
                "typeRef": {
                  "typeParams": null,
                  "typeName": "PostgresClient"
                }
              }
            ],
            "typeName": "Promise"
          }
        },
        "hasBody": true,
        "isAsync": true,
        "isGenerator": false,
        "typeParams": []
      }
    },
    {
      "name": "PostgresTransaction",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/transaction.ts",
        "line": 18,
        "col": 0,
        "byteIndex": 448
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "PostgreSQL transaction implementation.\n\nWraps a postgres.js reserved connection to provide transaction semantics."
      },
      "kind": "class",
      "classDef": {
        "isAbstract": false,
        "constructors": [
          {
            "jsDoc": {
              "doc": "Creates a new PostgresTransaction.\n",
              "tags": [
                {
                  "kind": "param",
                  "name": "sql",
                  "doc": "- Reserved SQL connection from postgres.js"
                }
              ]
            },
            "accessibility": null,
            "hasBody": true,
            "name": "constructor",
            "params": [
              {
                "kind": "identifier",
                "name": "sql",
                "optional": false,
                "tsType": {
                  "repr": "postgres.ReservedSql",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "postgres.ReservedSql"
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/transaction.ts",
              "line": 28,
              "col": 2,
              "byteIndex": 712
            }
          }
        ],
        "properties": [],
        "indexSignatures": [],
        "methods": [
          {
            "jsDoc": {
              "doc": "Execute a query within the transaction.\n",
              "tags": [
                {
                  "kind": "param",
                  "name": "sql",
                  "doc": "- SQL query string"
                },
                {
                  "kind": "param",
                  "name": "params",
                  "doc": "- Optional query parameters"
                },
                {
                  "kind": "param",
                  "name": "options",
                  "doc": "- Optional query options"
                }
              ]
            },
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "query",
            "kind": "method",
            "functionDef": {
              "params": [
                {
                  "kind": "identifier",
                  "name": "sql",
                  "optional": false,
                  "tsType": {
                    "repr": "string",
                    "kind": "keyword",
                    "keyword": "string"
                  }
                },
                {
                  "kind": "identifier",
                  "name": "params",
                  "optional": true,
                  "tsType": {
                    "repr": "",
                    "kind": "array",
                    "array": {
                      "repr": "unknown",
                      "kind": "keyword",
                      "keyword": "unknown"
                    }
                  }
                },
                {
                  "kind": "identifier",
                  "name": "options",
                  "optional": true,
                  "tsType": {
                    "repr": "SqlQueryOptions",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": null,
                      "typeName": "SqlQueryOptions"
                    }
                  }
                }
              ],
              "returnType": {
                "repr": "Promise",
                "kind": "typeRef",
                "typeRef": {
                  "typeParams": [
                    {
                      "repr": "SqlQueryResult",
                      "kind": "typeRef",
                      "typeRef": {
                        "typeParams": [
                          {
                            "repr": "T",
                            "kind": "typeRef",
                            "typeRef": {
                              "typeParams": null,
                              "typeName": "T"
                            }
                          }
                        ],
                        "typeName": "SqlQueryResult"
                      }
                    }
                  ],
                  "typeName": "Promise"
                }
              },
              "hasBody": true,
              "isAsync": true,
              "isGenerator": false,
              "typeParams": [
                {
                  "name": "T",
                  "default": {
                    "repr": "Record",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": [
                        {
                          "repr": "string",
                          "kind": "keyword",
                          "keyword": "string"
                        },
                        {
                          "repr": "any",
                          "kind": "keyword",
                          "keyword": "any"
                        }
                      ],
                      "typeName": "Record"
                    }
                  }
                }
              ]
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/transaction.ts",
              "line": 52,
              "col": 2,
              "byteIndex": 1298
            }
          },
          {
            "jsDoc": {
              "doc": "Execute a query and return the first row or undefined.\n",
              "tags": [
                {
                  "kind": "param",
                  "name": "sql",
                  "doc": "- SQL query string"
                },
                {
                  "kind": "param",
                  "name": "params",
                  "doc": "- Optional query parameters"
                },
                {
                  "kind": "param",
                  "name": "options",
                  "doc": "- Optional query options"
                }
              ]
            },
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "queryOne",
            "kind": "method",
            "functionDef": {
              "params": [
                {
                  "kind": "identifier",
                  "name": "sql",
                  "optional": false,
                  "tsType": {
                    "repr": "string",
                    "kind": "keyword",
                    "keyword": "string"
                  }
                },
                {
                  "kind": "identifier",
                  "name": "params",
                  "optional": true,
                  "tsType": {
                    "repr": "",
                    "kind": "array",
                    "array": {
                      "repr": "unknown",
                      "kind": "keyword",
                      "keyword": "unknown"
                    }
                  }
                },
                {
                  "kind": "identifier",
                  "name": "options",
                  "optional": true,
                  "tsType": {
                    "repr": "SqlQueryOptions",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": null,
                      "typeName": "SqlQueryOptions"
                    }
                  }
                }
              ],
              "returnType": {
                "repr": "Promise",
                "kind": "typeRef",
                "typeRef": {
                  "typeParams": [
                    {
                      "repr": "",
                      "kind": "union",
                      "union": [
                        {
                          "repr": "T",
                          "kind": "typeRef",
                          "typeRef": {
                            "typeParams": null,
                            "typeName": "T"
                          }
                        },
                        {
                          "repr": "undefined",
                          "kind": "keyword",
                          "keyword": "undefined"
                        }
                      ]
                    }
                  ],
                  "typeName": "Promise"
                }
              },
              "hasBody": true,
              "isAsync": true,
              "isGenerator": false,
              "typeParams": [
                {
                  "name": "T",
                  "default": {
                    "repr": "Record",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": [
                        {
                          "repr": "string",
                          "kind": "keyword",
                          "keyword": "string"
                        },
                        {
                          "repr": "any",
                          "kind": "keyword",
                          "keyword": "any"
                        }
                      ],
                      "typeName": "Record"
                    }
                  }
                }
              ]
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/transaction.ts",
              "line": 101,
              "col": 2,
              "byteIndex": 2748
            }
          },
          {
            "jsDoc": {
              "doc": "Commit the transaction."
            },
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "commit",
            "kind": "method",
            "functionDef": {
              "params": [],
              "returnType": {
                "repr": "Promise",
                "kind": "typeRef",
                "typeRef": {
                  "typeParams": [
                    {
                      "repr": "void",
                      "kind": "keyword",
                      "keyword": "void"
                    }
                  ],
                  "typeName": "Promise"
                }
              },
              "hasBody": true,
              "isAsync": true,
              "isGenerator": false,
              "typeParams": []
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/transaction.ts",
              "line": 121,
              "col": 2,
              "byteIndex": 3254
            }
          },
          {
            "jsDoc": {
              "doc": "Rollback the transaction."
            },
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "rollback",
            "kind": "method",
            "functionDef": {
              "params": [],
              "returnType": {
                "repr": "Promise",
                "kind": "typeRef",
                "typeRef": {
                  "typeParams": [
                    {
                      "repr": "void",
                      "kind": "keyword",
                      "keyword": "void"
                    }
                  ],
                  "typeName": "Promise"
                }
              },
              "hasBody": true,
              "isAsync": true,
              "isGenerator": false,
              "typeParams": []
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/transaction.ts",
              "line": 136,
              "col": 2,
              "byteIndex": 3588
            }
          }
        ],
        "extends": null,
        "implements": [
          {
            "repr": "SqlTransaction",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "SqlTransaction"
            }
          }
        ],
        "typeParams": [],
        "superTypeParams": []
      }
    },
    {
      "name": "PostgresSslConfig",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/types.ts",
        "line": 6,
        "col": 0,
        "byteIndex": 147
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "SSL/TLS configuration for PostgreSQL connection."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "rejectUnauthorized",
            "jsDoc": {
              "doc": "Whether to reject unauthorized certificates.",
              "tags": [
                {
                  "kind": "unsupported",
                  "value": "@default true"
                }
              ]
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/types.ts",
              "line": 11,
              "col": 2,
              "byteIndex": 267
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "boolean",
              "kind": "keyword",
              "keyword": "boolean"
            },
            "typeParams": []
          },
          {
            "name": "ca",
            "jsDoc": {
              "doc": "CA certificate(s) for verification."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/types.ts",
              "line": 16,
              "col": 2,
              "byteIndex": 362
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "typeParams": []
          },
          {
            "name": "cert",
            "jsDoc": {
              "doc": "Client certificate for mutual TLS."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/types.ts",
              "line": 21,
              "col": 2,
              "byteIndex": 439
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "typeParams": []
          },
          {
            "name": "key",
            "jsDoc": {
              "doc": "Client private key for mutual TLS."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/types.ts",
              "line": 26,
              "col": 2,
              "byteIndex": 518
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "PostgresConnectionConfig",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/types.ts",
        "line": 34,
        "col": 0,
        "byteIndex": 663
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "PostgreSQL connection configuration.\n\nExtends CommonConnectionConfig with PostgreSQL-specific options."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "CommonConnectionConfig",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "CommonConnectionConfig"
            }
          }
        ],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "database",
            "jsDoc": {
              "doc": "Database name to connect to."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/types.ts",
              "line": 38,
              "col": 2,
              "byteIndex": 786
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "typeParams": []
          },
          {
            "name": "ssl",
            "jsDoc": {
              "doc": "SSL/TLS configuration."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/types.ts",
              "line": 43,
              "col": 2,
              "byteIndex": 857
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "",
              "kind": "union",
              "union": [
                {
                  "repr": "boolean",
                  "kind": "keyword",
                  "keyword": "boolean"
                },
                {
                  "repr": "PostgresSslConfig",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "PostgresSslConfig"
                  }
                }
              ]
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "PostgresPoolConfig",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/types.ts",
        "line": 49,
        "col": 0,
        "byteIndex": 950
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Pool configuration for PostgreSQL."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "max",
            "jsDoc": {
              "doc": "Maximum number of connections in the pool"
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/types.ts",
              "line": 51,
              "col": 2,
              "byteIndex": 1041
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "number",
              "kind": "keyword",
              "keyword": "number"
            },
            "typeParams": []
          },
          {
            "name": "idleTimeout",
            "jsDoc": {
              "doc": "Idle timeout in milliseconds before closing unused connections"
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/types.ts",
              "line": 54,
              "col": 2,
              "byteIndex": 1139
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "number",
              "kind": "keyword",
              "keyword": "number"
            },
            "typeParams": []
          },
          {
            "name": "connectTimeout",
            "jsDoc": {
              "doc": "Connection timeout in milliseconds"
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/types.ts",
              "line": 57,
              "col": 2,
              "byteIndex": 1217
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "number",
              "kind": "keyword",
              "keyword": "number"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "PostgresClientConfig",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/types.ts",
        "line": 63,
        "col": 0,
        "byteIndex": 1313
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Configuration for creating a PostgreSQL client."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "CommonOptions",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "CommonOptions"
            }
          }
        ],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "url",
            "jsDoc": {
              "doc": "Connection URL string or configuration object.\n",
              "tags": [
                {
                  "kind": "example",
                  "doc": "Using a URL string\n```ts\nimport type { PostgresClientConfig } from \"@probitas/client-sql-postgres\";\nconst config: PostgresClientConfig = { url: \"postgres://user:pass@localhost:5432/mydb\" };\n```\n"
                },
                {
                  "kind": "example",
                  "doc": "Using a configuration object\n```ts\nimport type { PostgresClientConfig } from \"@probitas/client-sql-postgres\";\nconst config: PostgresClientConfig = {\n  url: {\n    host: \"localhost\",\n    port: 5432,\n    database: \"mydb\",\n    username: \"user\",\n    password: \"pass\",\n  },\n};\n```"
                }
              ]
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/types.ts",
              "line": 87,
              "col": 2,
              "byteIndex": 2028
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "",
              "kind": "union",
              "union": [
                {
                  "repr": "string",
                  "kind": "keyword",
                  "keyword": "string"
                },
                {
                  "repr": "PostgresConnectionConfig",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "PostgresConnectionConfig"
                  }
                }
              ]
            },
            "typeParams": []
          },
          {
            "name": "pool",
            "jsDoc": {
              "doc": "Pool configuration"
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/types.ts",
              "line": 90,
              "col": 2,
              "byteIndex": 2108
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "PostgresPoolConfig",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "PostgresPoolConfig"
              }
            },
            "typeParams": []
          },
          {
            "name": "applicationName",
            "jsDoc": {
              "doc": "Application name for PostgreSQL connection"
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/types.ts",
              "line": 93,
              "col": 2,
              "byteIndex": 2199
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "typeParams": []
          },
          {
            "name": "throwOnError",
            "jsDoc": {
              "doc": "Whether to throw an error for query failures.\nWhen false, failures are returned as SqlQueryResultError or SqlQueryResultFailure.\nCan be overridden per-query via SqlQueryOptions.",
              "tags": [
                {
                  "kind": "unsupported",
                  "value": "@default false"
                }
              ]
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/types.ts",
              "line": 101,
              "col": 2,
              "byteIndex": 2462
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "boolean",
              "kind": "keyword",
              "keyword": "boolean"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "PostgresNotification",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/types.ts",
        "line": 107,
        "col": 0,
        "byteIndex": 2548
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "PostgreSQL LISTEN/NOTIFY notification."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "channel",
            "jsDoc": {
              "doc": "Channel name"
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/types.ts",
              "line": 109,
              "col": 2,
              "byteIndex": 2612
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "typeParams": []
          },
          {
            "name": "payload",
            "jsDoc": {
              "doc": "Notification payload"
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/types.ts",
              "line": 112,
              "col": 2,
              "byteIndex": 2671
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "typeParams": []
          },
          {
            "name": "processId",
            "jsDoc": {
              "doc": "Process ID of the notifying backend"
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/types.ts",
              "line": 115,
              "col": 2,
              "byteIndex": 2745
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "number",
              "kind": "keyword",
              "keyword": "number"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "PostgresErrorLike",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/errors.ts",
        "line": 41,
        "col": 0,
        "byteIndex": 957
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "PostgreSQL error structure from the driver."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "message",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/errors.ts",
              "line": 42,
              "col": 2,
              "byteIndex": 996
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "typeParams": []
          },
          {
            "name": "code",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/errors.ts",
              "line": 43,
              "col": 2,
              "byteIndex": 1024
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "typeParams": []
          },
          {
            "name": "constraint",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/errors.ts",
              "line": 44,
              "col": 2,
              "byteIndex": 1050
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "isConnectionError",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/errors.ts",
        "line": 50,
        "col": 0,
        "byteIndex": 1184
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Check if an error is a connection-level error based on SQLSTATE or error characteristics."
      },
      "kind": "function",
      "functionDef": {
        "params": [
          {
            "kind": "identifier",
            "name": "error",
            "optional": false,
            "tsType": {
              "repr": "PostgresErrorLike",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "PostgresErrorLike"
              }
            }
          }
        ],
        "returnType": {
          "repr": "boolean",
          "kind": "keyword",
          "keyword": "boolean"
        },
        "hasBody": true,
        "isAsync": false,
        "isGenerator": false,
        "typeParams": []
      }
    },
    {
      "name": "mapPostgresError",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql-postgres/0.5.0/errors.ts",
        "line": 91,
        "col": 0,
        "byteIndex": 2213
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Maps a PostgreSQL error to the appropriate SqlError subclass.\n",
        "tags": [
          {
            "kind": "param",
            "name": "error",
            "doc": "- PostgreSQL error from the driver"
          },
          {
            "kind": "return",
            "doc": "Mapped SqlError or subclass"
          }
        ]
      },
      "kind": "function",
      "functionDef": {
        "params": [
          {
            "kind": "identifier",
            "name": "error",
            "optional": false,
            "tsType": {
              "repr": "PostgresErrorLike",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "PostgresErrorLike"
              }
            }
          }
        ],
        "returnType": {
          "repr": "SqlError",
          "kind": "typeRef",
          "typeRef": {
            "typeParams": null,
            "typeName": "SqlError"
          }
        },
        "hasBody": true,
        "isAsync": false,
        "isGenerator": false,
        "typeParams": []
      }
    },
    {
      "name": "SqlQueryOptions",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql/0.5.0/transaction.ts",
        "line": 7,
        "col": 0,
        "byteIndex": 161
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Options for individual SQL queries."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "CommonOptions",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "CommonOptions"
            }
          }
        ],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "throwOnError",
            "jsDoc": {
              "doc": "Whether to throw an error for query failures.\nWhen false, failures are returned as SqlQueryResultError or SqlQueryResultFailure.",
              "tags": [
                {
                  "kind": "unsupported",
                  "value": "@default false (inherited from client config if not specified)"
                }
              ]
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/transaction.ts",
              "line": 13,
              "col": 2,
              "byteIndex": 439
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "boolean",
              "kind": "keyword",
              "keyword": "boolean"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "SqlIsolationLevel",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql/0.5.0/transaction.ts",
        "line": 19,
        "col": 0,
        "byteIndex": 515
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Transaction isolation level."
      },
      "kind": "typeAlias",
      "typeAliasDef": {
        "tsType": {
          "repr": "",
          "kind": "union",
          "union": [
            {
              "repr": "read_uncommitted",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "read_uncommitted"
              }
            },
            {
              "repr": "read_committed",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "read_committed"
              }
            },
            {
              "repr": "repeatable_read",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "repeatable_read"
              }
            },
            {
              "repr": "serializable",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "serializable"
              }
            }
          ]
        },
        "typeParams": []
      }
    },
    {
      "name": "SqlTransactionOptions",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql/0.5.0/transaction.ts",
        "line": 28,
        "col": 0,
        "byteIndex": 681
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Options for starting a transaction."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "isolationLevel",
            "jsDoc": {
              "doc": "Isolation level for the transaction"
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/transaction.ts",
              "line": 30,
              "col": 2,
              "byteIndex": 769
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "SqlIsolationLevel",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "SqlIsolationLevel"
              }
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "SqlTransaction",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql/0.5.0/transaction.ts",
        "line": 37,
        "col": 0,
        "byteIndex": 936
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "SQL transaction interface.\nImplementations should provide actual database-specific transaction handling."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [],
        "constructors": [],
        "methods": [
          {
            "name": "query",
            "jsDoc": {
              "doc": "Execute a query within the transaction.",
              "tags": [
                {
                  "kind": "param",
                  "name": "sql",
                  "doc": "- SQL query string"
                },
                {
                  "kind": "param",
                  "name": "params",
                  "doc": "- Optional query parameters"
                },
                {
                  "kind": "param",
                  "name": "options",
                  "doc": "- Optional query options"
                }
              ]
            },
            "kind": "method",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/transaction.ts",
              "line": 45,
              "col": 2,
              "byteIndex": 1194
            },
            "params": [
              {
                "kind": "identifier",
                "name": "sql",
                "optional": false,
                "tsType": {
                  "repr": "string",
                  "kind": "keyword",
                  "keyword": "string"
                }
              },
              {
                "kind": "identifier",
                "name": "params",
                "optional": true,
                "tsType": {
                  "repr": "",
                  "kind": "array",
                  "array": {
                    "repr": "unknown",
                    "kind": "keyword",
                    "keyword": "unknown"
                  }
                }
              },
              {
                "kind": "identifier",
                "name": "options",
                "optional": true,
                "tsType": {
                  "repr": "SqlQueryOptions",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "SqlQueryOptions"
                  }
                }
              }
            ],
            "optional": false,
            "returnType": {
              "repr": "Promise",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "SqlQueryResult",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": [
                        {
                          "repr": "T",
                          "kind": "typeRef",
                          "typeRef": {
                            "typeParams": null,
                            "typeName": "T"
                          }
                        }
                      ],
                      "typeName": "SqlQueryResult"
                    }
                  }
                ],
                "typeName": "Promise"
              }
            },
            "typeParams": [
              {
                "name": "T",
                "default": {
                  "repr": "Record",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": [
                      {
                        "repr": "string",
                        "kind": "keyword",
                        "keyword": "string"
                      },
                      {
                        "repr": "any",
                        "kind": "keyword",
                        "keyword": "any"
                      }
                    ],
                    "typeName": "Record"
                  }
                }
              }
            ]
          },
          {
            "name": "queryOne",
            "jsDoc": {
              "doc": "Execute a query and return the first row or undefined.",
              "tags": [
                {
                  "kind": "param",
                  "name": "sql",
                  "doc": "- SQL query string"
                },
                {
                  "kind": "param",
                  "name": "params",
                  "doc": "- Optional query parameters"
                },
                {
                  "kind": "param",
                  "name": "options",
                  "doc": "- Optional query options"
                }
              ]
            },
            "kind": "method",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/transaction.ts",
              "line": 58,
              "col": 2,
              "byteIndex": 1571
            },
            "params": [
              {
                "kind": "identifier",
                "name": "sql",
                "optional": false,
                "tsType": {
                  "repr": "string",
                  "kind": "keyword",
                  "keyword": "string"
                }
              },
              {
                "kind": "identifier",
                "name": "params",
                "optional": true,
                "tsType": {
                  "repr": "",
                  "kind": "array",
                  "array": {
                    "repr": "unknown",
                    "kind": "keyword",
                    "keyword": "unknown"
                  }
                }
              },
              {
                "kind": "identifier",
                "name": "options",
                "optional": true,
                "tsType": {
                  "repr": "SqlQueryOptions",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "SqlQueryOptions"
                  }
                }
              }
            ],
            "optional": false,
            "returnType": {
              "repr": "Promise",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "",
                    "kind": "union",
                    "union": [
                      {
                        "repr": "T",
                        "kind": "typeRef",
                        "typeRef": {
                          "typeParams": null,
                          "typeName": "T"
                        }
                      },
                      {
                        "repr": "undefined",
                        "kind": "keyword",
                        "keyword": "undefined"
                      }
                    ]
                  }
                ],
                "typeName": "Promise"
              }
            },
            "typeParams": [
              {
                "name": "T",
                "default": {
                  "repr": "Record",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": [
                      {
                        "repr": "string",
                        "kind": "keyword",
                        "keyword": "string"
                      },
                      {
                        "repr": "any",
                        "kind": "keyword",
                        "keyword": "any"
                      }
                    ],
                    "typeName": "Record"
                  }
                }
              }
            ]
          },
          {
            "name": "commit",
            "jsDoc": {
              "doc": "Commit the transaction."
            },
            "kind": "method",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/transaction.ts",
              "line": 67,
              "col": 2,
              "byteIndex": 1751
            },
            "params": [],
            "optional": false,
            "returnType": {
              "repr": "Promise",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "void",
                    "kind": "keyword",
                    "keyword": "void"
                  }
                ],
                "typeName": "Promise"
              }
            },
            "typeParams": []
          },
          {
            "name": "rollback",
            "jsDoc": {
              "doc": "Rollback the transaction."
            },
            "kind": "method",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/transaction.ts",
              "line": 72,
              "col": 2,
              "byteIndex": 1822
            },
            "params": [],
            "optional": false,
            "returnType": {
              "repr": "Promise",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "void",
                    "kind": "keyword",
                    "keyword": "void"
                  }
                ],
                "typeName": "Promise"
              }
            },
            "typeParams": []
          }
        ],
        "properties": [],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "SqlErrorKind",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql/0.5.0/errors.ts",
        "line": 6,
        "col": 0,
        "byteIndex": 119
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "SQL-specific error kinds."
      },
      "kind": "typeAlias",
      "typeAliasDef": {
        "tsType": {
          "repr": "",
          "kind": "union",
          "union": [
            {
              "repr": "query",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "query"
              }
            },
            {
              "repr": "constraint",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "constraint"
              }
            },
            {
              "repr": "deadlock",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "deadlock"
              }
            },
            {
              "repr": "connection",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "connection"
              }
            },
            {
              "repr": "unknown",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "unknown"
              }
            }
          ]
        },
        "typeParams": []
      }
    },
    {
      "name": "SqlErrorOptions",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql/0.5.0/errors.ts",
        "line": 16,
        "col": 0,
        "byteIndex": 268
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Options for SqlError constructor."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "ErrorOptions",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "ErrorOptions"
            }
          }
        ],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "sqlState",
            "jsDoc": {
              "doc": "SQL State code (e.g., \"23505\" for unique violation)"
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/errors.ts",
              "line": 18,
              "col": 2,
              "byteIndex": 387
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "SqlError",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql/0.5.0/errors.ts",
        "line": 25,
        "col": 0,
        "byteIndex": 524
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Base error class for SQL-specific errors.\nExtends ClientError with SQL-specific properties."
      },
      "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": "kind",
                "optional": false,
                "tsType": {
                  "repr": "SqlErrorKind",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "SqlErrorKind"
                  }
                }
              },
              {
                "kind": "identifier",
                "name": "options",
                "optional": true,
                "tsType": {
                  "repr": "SqlErrorOptions",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "SqlErrorOptions"
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/errors.ts",
              "line": 30,
              "col": 2,
              "byteIndex": 694
            }
          }
        ],
        "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-sql/0.5.0/errors.ts",
              "line": 26,
              "col": 2,
              "byteIndex": 570
            }
          },
          {
            "tsType": {
              "repr": "SqlErrorKind",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "SqlErrorKind"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "isOverride": true,
            "name": "kind",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/errors.ts",
              "line": 27,
              "col": 2,
              "byteIndex": 617
            }
          },
          {
            "tsType": {
              "repr": "",
              "kind": "union",
              "union": [
                {
                  "repr": "string",
                  "kind": "keyword",
                  "keyword": "string"
                },
                {
                  "repr": "null",
                  "kind": "keyword",
                  "keyword": "null"
                }
              ]
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "sqlState",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/errors.ts",
              "line": 28,
              "col": 2,
              "byteIndex": 657
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": "ClientError",
        "implements": [],
        "typeParams": [],
        "superTypeParams": []
      }
    },
    {
      "name": "QuerySyntaxError",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql/0.5.0/errors.ts",
        "line": 44,
        "col": 0,
        "byteIndex": 960
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Error thrown when a SQL query has syntax errors."
      },
      "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": "SqlErrorOptions",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "SqlErrorOptions"
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/errors.ts",
              "line": 48,
              "col": 2,
              "byteIndex": 1104
            }
          }
        ],
        "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-sql/0.5.0/errors.ts",
              "line": 45,
              "col": 2,
              "byteIndex": 1011
            }
          },
          {
            "tsType": {
              "repr": "query",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "query"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "isOverride": true,
            "name": "kind",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/errors.ts",
              "line": 46,
              "col": 2,
              "byteIndex": 1058
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": "SqlError",
        "implements": [],
        "typeParams": [],
        "superTypeParams": []
      }
    },
    {
      "name": "ConstraintError",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql/0.5.0/errors.ts",
        "line": 56,
        "col": 0,
        "byteIndex": 1267
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Error thrown when a constraint violation occurs."
      },
      "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": "constraint",
                "optional": false,
                "tsType": {
                  "repr": "string",
                  "kind": "keyword",
                  "keyword": "string"
                }
              },
              {
                "kind": "identifier",
                "name": "options",
                "optional": true,
                "tsType": {
                  "repr": "SqlErrorOptions",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "SqlErrorOptions"
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/errors.ts",
              "line": 61,
              "col": 2,
              "byteIndex": 1445
            }
          }
        ],
        "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-sql/0.5.0/errors.ts",
              "line": 57,
              "col": 2,
              "byteIndex": 1317
            }
          },
          {
            "tsType": {
              "repr": "constraint",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "constraint"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "isOverride": true,
            "name": "kind",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/errors.ts",
              "line": 58,
              "col": 2,
              "byteIndex": 1363
            }
          },
          {
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "constraint",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/errors.ts",
              "line": 59,
              "col": 2,
              "byteIndex": 1413
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": "SqlError",
        "implements": [],
        "typeParams": [],
        "superTypeParams": []
      }
    },
    {
      "name": "DeadlockError",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql/0.5.0/errors.ts",
        "line": 70,
        "col": 0,
        "byteIndex": 1660
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Error thrown when a deadlock is detected."
      },
      "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": "SqlErrorOptions",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "SqlErrorOptions"
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/errors.ts",
              "line": 74,
              "col": 2,
              "byteIndex": 1801
            }
          }
        ],
        "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-sql/0.5.0/errors.ts",
              "line": 71,
              "col": 2,
              "byteIndex": 1708
            }
          },
          {
            "tsType": {
              "repr": "deadlock",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "deadlock"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "isOverride": true,
            "name": "kind",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/errors.ts",
              "line": 72,
              "col": 2,
              "byteIndex": 1752
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": "SqlError",
        "implements": [],
        "typeParams": [],
        "superTypeParams": []
      }
    },
    {
      "name": "SqlConnectionError",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql/0.5.0/errors.ts",
        "line": 90,
        "col": 0,
        "byteIndex": 2174
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Error thrown when a connection or network-level error occurs.\n\nThis includes:\n- Connection refused (server not running)\n- Authentication failure\n- Connection timeout\n- Pool exhaustion\n- TLS handshake failure\n- DNS resolution failure"
      },
      "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": "SqlErrorOptions",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "SqlErrorOptions"
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/errors.ts",
              "line": 94,
              "col": 2,
              "byteIndex": 2327
            }
          }
        ],
        "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-sql/0.5.0/errors.ts",
              "line": 91,
              "col": 2,
              "byteIndex": 2227
            }
          },
          {
            "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-sql/0.5.0/errors.ts",
              "line": 92,
              "col": 2,
              "byteIndex": 2276
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": "SqlError",
        "implements": [],
        "typeParams": [],
        "superTypeParams": []
      }
    },
    {
      "name": "SqlOperationError",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql/0.5.0/errors.ts",
        "line": 103,
        "col": 0,
        "byteIndex": 2576
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Error types that indicate an operation was processed by the server.\nThese errors occur after the query reaches the SQL server."
      },
      "kind": "typeAlias",
      "typeAliasDef": {
        "tsType": {
          "repr": "",
          "kind": "union",
          "union": [
            {
              "repr": "QuerySyntaxError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "QuerySyntaxError"
              }
            },
            {
              "repr": "ConstraintError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "ConstraintError"
              }
            },
            {
              "repr": "DeadlockError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "DeadlockError"
              }
            },
            {
              "repr": "SqlError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "SqlError"
              }
            }
          ]
        },
        "typeParams": []
      }
    },
    {
      "name": "SqlFailureError",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql/0.5.0/errors.ts",
        "line": 113,
        "col": 0,
        "byteIndex": 2824
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Error types that indicate the operation was not processed.\nThese are errors that occur before the query reaches the SQL server."
      },
      "kind": "typeAlias",
      "typeAliasDef": {
        "tsType": {
          "repr": "",
          "kind": "union",
          "union": [
            {
              "repr": "SqlConnectionError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "SqlConnectionError"
              }
            },
            {
              "repr": "AbortError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "AbortError"
              }
            },
            {
              "repr": "TimeoutError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "TimeoutError"
              }
            }
          ]
        },
        "typeParams": []
      }
    },
    {
      "name": "SqlQueryResultSuccess",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
        "line": 44,
        "col": 0,
        "byteIndex": 1225
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "SQL query result for successful queries.\n\nThe query was executed successfully and returned results."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "SqlQueryResultBase",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": [
                {
                  "repr": "T",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "T"
                  }
                }
              ],
              "typeName": "SqlQueryResultBase"
            }
          }
        ],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "processed",
            "jsDoc": {
              "doc": "Server processed the query."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 46,
              "col": 2,
              "byteIndex": 1344
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "true",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": true
              }
            },
            "typeParams": []
          },
          {
            "name": "ok",
            "jsDoc": {
              "doc": "Query succeeded."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 49,
              "col": 2,
              "byteIndex": 1399
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "true",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": true
              }
            },
            "typeParams": []
          },
          {
            "name": "error",
            "jsDoc": {
              "doc": "No error for successful queries."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 52,
              "col": 2,
              "byteIndex": 1463
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "typeParams": []
          },
          {
            "name": "rows",
            "jsDoc": {
              "doc": "Query result rows."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 55,
              "col": 2,
              "byteIndex": 1516
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "",
              "kind": "typeOperator",
              "typeOperator": {
                "operator": "readonly",
                "tsType": {
                  "repr": "",
                  "kind": "array",
                  "array": {
                    "repr": "T",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": null,
                      "typeName": "T"
                    }
                  }
                }
              }
            },
            "typeParams": []
          },
          {
            "name": "rowCount",
            "jsDoc": {
              "doc": "Number of affected rows."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 58,
              "col": 2,
              "byteIndex": 1582
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "number",
              "kind": "keyword",
              "keyword": "number"
            },
            "typeParams": []
          },
          {
            "name": "lastInsertId",
            "jsDoc": {
              "doc": "Last inserted ID (for INSERT statements)."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 61,
              "col": 2,
              "byteIndex": 1663
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "",
              "kind": "union",
              "union": [
                {
                  "repr": "bigint",
                  "kind": "keyword",
                  "keyword": "bigint"
                },
                {
                  "repr": "string",
                  "kind": "keyword",
                  "keyword": "string"
                },
                {
                  "repr": "null",
                  "kind": "keyword",
                  "keyword": "null"
                }
              ]
            },
            "typeParams": []
          },
          {
            "name": "warnings",
            "jsDoc": {
              "doc": "Warning messages from the database."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 64,
              "col": 2,
              "byteIndex": 1758
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "",
              "kind": "union",
              "union": [
                {
                  "repr": "",
                  "kind": "parenthesized",
                  "parenthesized": {
                    "repr": "",
                    "kind": "typeOperator",
                    "typeOperator": {
                      "operator": "readonly",
                      "tsType": {
                        "repr": "",
                        "kind": "array",
                        "array": {
                          "repr": "string",
                          "kind": "keyword",
                          "keyword": "string"
                        }
                      }
                    }
                  }
                },
                {
                  "repr": "null",
                  "kind": "keyword",
                  "keyword": "null"
                }
              ]
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": [
          {
            "name": "T",
            "default": {
              "repr": "any",
              "kind": "keyword",
              "keyword": "any"
            }
          }
        ]
      }
    },
    {
      "name": "SqlQueryResultError",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
        "line": 73,
        "col": 0,
        "byteIndex": 2016
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "SQL query result for query errors (syntax errors, constraint violations, etc.).\n\nServer received and processed the query, but it failed due to a SQL error."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "SqlQueryResultBase",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": [
                {
                  "repr": "T",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "T"
                  }
                }
              ],
              "typeName": "SqlQueryResultBase"
            }
          }
        ],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "processed",
            "jsDoc": {
              "doc": "Server processed the query."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 75,
              "col": 2,
              "byteIndex": 2133
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "true",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": true
              }
            },
            "typeParams": []
          },
          {
            "name": "ok",
            "jsDoc": {
              "doc": "Query failed."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 78,
              "col": 2,
              "byteIndex": 2185
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "false",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": false
              }
            },
            "typeParams": []
          },
          {
            "name": "error",
            "jsDoc": {
              "doc": "Error describing the SQL error."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 81,
              "col": 2,
              "byteIndex": 2249
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "SqlError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "SqlError"
              }
            },
            "typeParams": []
          },
          {
            "name": "rows",
            "jsDoc": {
              "doc": "Empty rows for failed queries."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 84,
              "col": 2,
              "byteIndex": 2318
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "",
              "kind": "typeOperator",
              "typeOperator": {
                "operator": "readonly",
                "tsType": {
                  "repr": "",
                  "kind": "array",
                  "array": {
                    "repr": "never",
                    "kind": "keyword",
                    "keyword": "never"
                  }
                }
              }
            },
            "typeParams": []
          },
          {
            "name": "rowCount",
            "jsDoc": {
              "doc": "Zero affected rows for failed queries."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 87,
              "col": 2,
              "byteIndex": 2402
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "0",
              "kind": "literal",
              "literal": {
                "kind": "number",
                "number": 0
              }
            },
            "typeParams": []
          },
          {
            "name": "lastInsertId",
            "jsDoc": {
              "doc": "No lastInsertId for failed queries."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 90,
              "col": 2,
              "byteIndex": 2472
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "typeParams": []
          },
          {
            "name": "warnings",
            "jsDoc": {
              "doc": "No warnings for failed queries."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 93,
              "col": 2,
              "byteIndex": 2545
            },
            "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": "SqlQueryResultFailure",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
        "line": 103,
        "col": 0,
        "byteIndex": 2824
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "SQL query result for connection failures (network errors, timeouts, etc.).\n\nQuery could not be processed by the server (connection refused, timeout,\npool exhausted, authentication failure, etc.)."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "SqlQueryResultBase",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": [
                {
                  "repr": "T",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "T"
                  }
                }
              ],
              "typeName": "SqlQueryResultBase"
            }
          }
        ],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "processed",
            "jsDoc": {
              "doc": "Server did not process the query."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 105,
              "col": 2,
              "byteIndex": 2949
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "false",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": false
              }
            },
            "typeParams": []
          },
          {
            "name": "ok",
            "jsDoc": {
              "doc": "Query failed."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 108,
              "col": 2,
              "byteIndex": 3002
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "false",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": false
              }
            },
            "typeParams": []
          },
          {
            "name": "error",
            "jsDoc": {
              "doc": "Error describing the failure."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 111,
              "col": 2,
              "byteIndex": 3064
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "SqlFailureError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "SqlFailureError"
              }
            },
            "typeParams": []
          },
          {
            "name": "rows",
            "jsDoc": {
              "doc": "No rows (query didn't reach server)."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 114,
              "col": 2,
              "byteIndex": 3146
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "typeParams": []
          },
          {
            "name": "rowCount",
            "jsDoc": {
              "doc": "No row count (query didn't reach server)."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 117,
              "col": 2,
              "byteIndex": 3221
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "typeParams": []
          },
          {
            "name": "lastInsertId",
            "jsDoc": {
              "doc": "No lastInsertId (query didn't reach server)."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 120,
              "col": 2,
              "byteIndex": 3303
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "typeParams": []
          },
          {
            "name": "warnings",
            "jsDoc": {
              "doc": "No warnings (query didn't reach server)."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 123,
              "col": 2,
              "byteIndex": 3385
            },
            "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": "SqlQueryResult",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
        "line": 164,
        "col": 0,
        "byteIndex": 4775
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "SQL query result union type representing all possible result states.\n\n- **Success**: `processed: true, ok: true, error: null`\n- **Error**: `processed: true, ok: false, error: SqlError`\n- **Failure**: `processed: false, ok: false, error: SqlConnectionError`\n",
        "tags": [
          {
            "kind": "example",
            "doc": "Type narrowing by ok\n```ts\nimport { createPostgresClient } from \"@probitas/client-sql-postgres\";\n\nawait using client = await createPostgresClient({ url: \"postgres://localhost/db\" });\nconst result = await client.query(\"SELECT * FROM users\");\nif (result.ok) {\n  // TypeScript knows: SqlQueryResultSuccess\n  console.log(result.rows[0]);\n} else {\n  // TypeScript knows: SqlQueryResultError | SqlQueryResultFailure\n  console.log(result.error.message);\n}\n```\n"
          },
          {
            "kind": "example",
            "doc": "Type narrowing by processed\n```ts\nimport { createPostgresClient } from \"@probitas/client-sql-postgres\";\n\nawait using client = await createPostgresClient({ url: \"postgres://localhost/db\" });\nconst result = await client.query(\"SELECT * FROM users\");\nif (result.processed) {\n  // TypeScript knows: SqlQueryResultSuccess | SqlQueryResultError\n  console.log(result.rowCount);\n} else {\n  // TypeScript knows: SqlQueryResultFailure\n  console.log(result.error.message); // Connection error\n}\n```"
          }
        ]
      },
      "kind": "typeAlias",
      "typeAliasDef": {
        "tsType": {
          "repr": "",
          "kind": "union",
          "union": [
            {
              "repr": "SqlQueryResultSuccess",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "T",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": null,
                      "typeName": "T"
                    }
                  }
                ],
                "typeName": "SqlQueryResultSuccess"
              }
            },
            {
              "repr": "SqlQueryResultError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "T",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": null,
                      "typeName": "T"
                    }
                  }
                ],
                "typeName": "SqlQueryResultError"
              }
            },
            {
              "repr": "SqlQueryResultFailure",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "T",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": null,
                      "typeName": "T"
                    }
                  }
                ],
                "typeName": "SqlQueryResultFailure"
              }
            }
          ]
        },
        "typeParams": [
          {
            "name": "T",
            "default": {
              "repr": "any",
              "kind": "keyword",
              "keyword": "any"
            }
          }
        ]
      }
    },
    {
      "name": "SqlQueryResultSuccessParams",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
        "line": 173,
        "col": 0,
        "byteIndex": 4996
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Parameters for creating a SqlQueryResultSuccess."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "rows",
            "jsDoc": {
              "doc": "The result rows"
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 175,
              "col": 2,
              "byteIndex": 5079
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "",
              "kind": "typeOperator",
              "typeOperator": {
                "operator": "readonly",
                "tsType": {
                  "repr": "",
                  "kind": "array",
                  "array": {
                    "repr": "T",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": null,
                      "typeName": "T"
                    }
                  }
                }
              }
            },
            "typeParams": []
          },
          {
            "name": "rowCount",
            "jsDoc": {
              "doc": "Number of affected rows (for INSERT/UPDATE/DELETE)"
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 178,
              "col": 2,
              "byteIndex": 5171
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "number",
              "kind": "keyword",
              "keyword": "number"
            },
            "typeParams": []
          },
          {
            "name": "duration",
            "jsDoc": {
              "doc": "Query execution duration in milliseconds"
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 181,
              "col": 2,
              "byteIndex": 5251
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "number",
              "kind": "keyword",
              "keyword": "number"
            },
            "typeParams": []
          },
          {
            "name": "lastInsertId",
            "jsDoc": {
              "doc": "Last inserted ID (for INSERT statements)"
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 184,
              "col": 2,
              "byteIndex": 5331
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "",
              "kind": "union",
              "union": [
                {
                  "repr": "bigint",
                  "kind": "keyword",
                  "keyword": "bigint"
                },
                {
                  "repr": "string",
                  "kind": "keyword",
                  "keyword": "string"
                }
              ]
            },
            "typeParams": []
          },
          {
            "name": "warnings",
            "jsDoc": {
              "doc": "Warning messages from the database"
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 187,
              "col": 2,
              "byteIndex": 5419
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "",
              "kind": "typeOperator",
              "typeOperator": {
                "operator": "readonly",
                "tsType": {
                  "repr": "",
                  "kind": "array",
                  "array": {
                    "repr": "string",
                    "kind": "keyword",
                    "keyword": "string"
                  }
                }
              }
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": [
          {
            "name": "T",
            "default": {
              "repr": "any",
              "kind": "keyword",
              "keyword": "any"
            }
          }
        ]
      }
    },
    {
      "name": "SqlQueryResultSuccessImpl",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
        "line": 194,
        "col": 0,
        "byteIndex": 5526
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Implementation of SqlQueryResultSuccess.",
        "tags": [
          {
            "kind": "internal"
          }
        ]
      },
      "kind": "class",
      "classDef": {
        "isAbstract": false,
        "constructors": [
          {
            "accessibility": null,
            "hasBody": true,
            "name": "constructor",
            "params": [
              {
                "kind": "identifier",
                "name": "params",
                "optional": false,
                "tsType": {
                  "repr": "SqlQueryResultSuccessParams",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": [
                      {
                        "repr": "T",
                        "kind": "typeRef",
                        "typeRef": {
                          "typeParams": null,
                          "typeName": "T"
                        }
                      }
                    ],
                    "typeName": "SqlQueryResultSuccessParams"
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 205,
              "col": 2,
              "byteIndex": 5924
            }
          }
        ],
        "properties": [
          {
            "tsType": {
              "repr": "sql",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "sql"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "kind",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 195,
              "col": 2,
              "byteIndex": 5608
            }
          },
          {
            "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-sql/0.5.0/result.ts",
              "line": 196,
              "col": 2,
              "byteIndex": 5642
            }
          },
          {
            "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-sql/0.5.0/result.ts",
              "line": 197,
              "col": 2,
              "byteIndex": 5680
            }
          },
          {
            "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-sql/0.5.0/result.ts",
              "line": 198,
              "col": 2,
              "byteIndex": 5711
            }
          },
          {
            "tsType": {
              "repr": "",
              "kind": "typeOperator",
              "typeOperator": {
                "operator": "readonly",
                "tsType": {
                  "repr": "",
                  "kind": "array",
                  "array": {
                    "repr": "T",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": null,
                      "typeName": "T"
                    }
                  }
                }
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "rows",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 199,
              "col": 2,
              "byteIndex": 5736
            }
          },
          {
            "tsType": {
              "repr": "number",
              "kind": "keyword",
              "keyword": "number"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "rowCount",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 200,
              "col": 2,
              "byteIndex": 5767
            }
          },
          {
            "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-sql/0.5.0/result.ts",
              "line": 201,
              "col": 2,
              "byteIndex": 5796
            }
          },
          {
            "tsType": {
              "repr": "",
              "kind": "union",
              "union": [
                {
                  "repr": "bigint",
                  "kind": "keyword",
                  "keyword": "bigint"
                },
                {
                  "repr": "string",
                  "kind": "keyword",
                  "keyword": "string"
                },
                {
                  "repr": "null",
                  "kind": "keyword",
                  "keyword": "null"
                }
              ]
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "lastInsertId",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 202,
              "col": 2,
              "byteIndex": 5825
            }
          },
          {
            "tsType": {
              "repr": "",
              "kind": "union",
              "union": [
                {
                  "repr": "",
                  "kind": "parenthesized",
                  "parenthesized": {
                    "repr": "",
                    "kind": "typeOperator",
                    "typeOperator": {
                      "operator": "readonly",
                      "tsType": {
                        "repr": "",
                        "kind": "array",
                        "array": {
                          "repr": "string",
                          "kind": "keyword",
                          "keyword": "string"
                        }
                      }
                    }
                  }
                },
                {
                  "repr": "null",
                  "kind": "keyword",
                  "keyword": "null"
                }
              ]
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "warnings",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 203,
              "col": 2,
              "byteIndex": 5874
            }
          }
        ],
        "indexSignatures": [],
        "methods": [
          {
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "map",
            "kind": "method",
            "functionDef": {
              "params": [
                {
                  "kind": "identifier",
                  "name": "mapper",
                  "optional": false,
                  "tsType": {
                    "repr": "",
                    "kind": "fnOrConstructor",
                    "fnOrConstructor": {
                      "constructor": false,
                      "tsType": {
                        "repr": "U",
                        "kind": "typeRef",
                        "typeRef": {
                          "typeParams": null,
                          "typeName": "U"
                        }
                      },
                      "params": [
                        {
                          "kind": "identifier",
                          "name": "row",
                          "optional": false,
                          "tsType": {
                            "repr": "T",
                            "kind": "typeRef",
                            "typeRef": {
                              "typeParams": null,
                              "typeName": "T"
                            }
                          }
                        }
                      ],
                      "typeParams": []
                    }
                  }
                }
              ],
              "returnType": {
                "repr": "",
                "kind": "array",
                "array": {
                  "repr": "U",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "U"
                  }
                }
              },
              "hasBody": true,
              "isAsync": false,
              "isGenerator": false,
              "typeParams": [
                {
                  "name": "U"
                }
              ]
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 213,
              "col": 2,
              "byteIndex": 6186
            }
          },
          {
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "as",
            "kind": "method",
            "functionDef": {
              "params": [
                {
                  "kind": "identifier",
                  "name": "ctor",
                  "optional": false,
                  "tsType": {
                    "repr": "",
                    "kind": "fnOrConstructor",
                    "fnOrConstructor": {
                      "constructor": true,
                      "tsType": {
                        "repr": "U",
                        "kind": "typeRef",
                        "typeRef": {
                          "typeParams": null,
                          "typeName": "U"
                        }
                      },
                      "params": [
                        {
                          "kind": "identifier",
                          "name": "row",
                          "optional": false,
                          "tsType": {
                            "repr": "T",
                            "kind": "typeRef",
                            "typeRef": {
                              "typeParams": null,
                              "typeName": "T"
                            }
                          }
                        }
                      ],
                      "typeParams": []
                    }
                  }
                }
              ],
              "returnType": {
                "repr": "",
                "kind": "array",
                "array": {
                  "repr": "U",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "U"
                  }
                }
              },
              "hasBody": true,
              "isAsync": false,
              "isGenerator": false,
              "typeParams": [
                {
                  "name": "U"
                }
              ]
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 221,
              "col": 2,
              "byteIndex": 6350
            }
          }
        ],
        "extends": null,
        "implements": [
          {
            "repr": "SqlQueryResultSuccess",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": [
                {
                  "repr": "T",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "T"
                  }
                }
              ],
              "typeName": "SqlQueryResultSuccess"
            }
          }
        ],
        "typeParams": [
          {
            "name": "T"
          }
        ],
        "superTypeParams": []
      }
    },
    {
      "name": "SqlQueryResultErrorImpl",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
        "line": 234,
        "col": 0,
        "byteIndex": 6580
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Implementation of SqlQueryResultError.",
        "tags": [
          {
            "kind": "internal"
          }
        ]
      },
      "kind": "class",
      "classDef": {
        "isAbstract": false,
        "constructors": [
          {
            "accessibility": null,
            "hasBody": true,
            "name": "constructor",
            "params": [
              {
                "kind": "identifier",
                "name": "error",
                "optional": false,
                "tsType": {
                  "repr": "SqlError",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "SqlError"
                  }
                }
              },
              {
                "kind": "identifier",
                "name": "duration",
                "optional": false,
                "tsType": {
                  "repr": "number",
                  "kind": "keyword",
                  "keyword": "number"
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 245,
              "col": 2,
              "byteIndex": 6954
            }
          }
        ],
        "properties": [
          {
            "tsType": {
              "repr": "sql",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "sql"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "kind",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 235,
              "col": 2,
              "byteIndex": 6658
            }
          },
          {
            "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-sql/0.5.0/result.ts",
              "line": 236,
              "col": 2,
              "byteIndex": 6692
            }
          },
          {
            "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-sql/0.5.0/result.ts",
              "line": 237,
              "col": 2,
              "byteIndex": 6730
            }
          },
          {
            "tsType": {
              "repr": "SqlError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "SqlError"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 238,
              "col": 2,
              "byteIndex": 6762
            }
          },
          {
            "tsType": {
              "repr": "",
              "kind": "typeOperator",
              "typeOperator": {
                "operator": "readonly",
                "tsType": {
                  "repr": "",
                  "kind": "array",
                  "array": {
                    "repr": "never",
                    "kind": "keyword",
                    "keyword": "never"
                  }
                }
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "rows",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 239,
              "col": 2,
              "byteIndex": 6790
            }
          },
          {
            "tsType": {
              "repr": "0",
              "kind": "literal",
              "literal": {
                "kind": "number",
                "number": 0
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "rowCount",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 240,
              "col": 2,
              "byteIndex": 6830
            }
          },
          {
            "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-sql/0.5.0/result.ts",
              "line": 241,
              "col": 2,
              "byteIndex": 6864
            }
          },
          {
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "lastInsertId",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 242,
              "col": 2,
              "byteIndex": 6893
            }
          },
          {
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "warnings",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 243,
              "col": 2,
              "byteIndex": 6925
            }
          }
        ],
        "indexSignatures": [],
        "methods": [
          {
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "map",
            "kind": "method",
            "functionDef": {
              "params": [
                {
                  "kind": "identifier",
                  "name": "_mapper",
                  "optional": false,
                  "tsType": {
                    "repr": "",
                    "kind": "fnOrConstructor",
                    "fnOrConstructor": {
                      "constructor": false,
                      "tsType": {
                        "repr": "U",
                        "kind": "typeRef",
                        "typeRef": {
                          "typeParams": null,
                          "typeName": "U"
                        }
                      },
                      "params": [
                        {
                          "kind": "identifier",
                          "name": "row",
                          "optional": false,
                          "tsType": {
                            "repr": "T",
                            "kind": "typeRef",
                            "typeRef": {
                              "typeParams": null,
                              "typeName": "T"
                            }
                          }
                        }
                      ],
                      "typeParams": []
                    }
                  }
                }
              ],
              "returnType": {
                "repr": "",
                "kind": "array",
                "array": {
                  "repr": "U",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "U"
                  }
                }
              },
              "hasBody": true,
              "isAsync": false,
              "isGenerator": false,
              "typeParams": [
                {
                  "name": "U"
                }
              ]
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 250,
              "col": 2,
              "byteIndex": 7064
            }
          },
          {
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "as",
            "kind": "method",
            "functionDef": {
              "params": [
                {
                  "kind": "identifier",
                  "name": "_ctor",
                  "optional": false,
                  "tsType": {
                    "repr": "",
                    "kind": "fnOrConstructor",
                    "fnOrConstructor": {
                      "constructor": true,
                      "tsType": {
                        "repr": "U",
                        "kind": "typeRef",
                        "typeRef": {
                          "typeParams": null,
                          "typeName": "U"
                        }
                      },
                      "params": [
                        {
                          "kind": "identifier",
                          "name": "row",
                          "optional": false,
                          "tsType": {
                            "repr": "T",
                            "kind": "typeRef",
                            "typeRef": {
                              "typeParams": null,
                              "typeName": "T"
                            }
                          }
                        }
                      ],
                      "typeParams": []
                    }
                  }
                }
              ],
              "returnType": {
                "repr": "",
                "kind": "array",
                "array": {
                  "repr": "U",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "U"
                  }
                }
              },
              "hasBody": true,
              "isAsync": false,
              "isGenerator": false,
              "typeParams": [
                {
                  "name": "U"
                }
              ]
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 254,
              "col": 2,
              "byteIndex": 7124
            }
          }
        ],
        "extends": null,
        "implements": [
          {
            "repr": "SqlQueryResultError",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": [
                {
                  "repr": "T",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "T"
                  }
                }
              ],
              "typeName": "SqlQueryResultError"
            }
          }
        ],
        "typeParams": [
          {
            "name": "T"
          }
        ],
        "superTypeParams": []
      }
    },
    {
      "name": "SqlQueryResultFailureImpl",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
        "line": 263,
        "col": 0,
        "byteIndex": 7250
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Implementation of SqlQueryResultFailure.",
        "tags": [
          {
            "kind": "internal"
          }
        ]
      },
      "kind": "class",
      "classDef": {
        "isAbstract": false,
        "constructors": [
          {
            "accessibility": null,
            "hasBody": true,
            "name": "constructor",
            "params": [
              {
                "kind": "identifier",
                "name": "error",
                "optional": false,
                "tsType": {
                  "repr": "SqlFailureError",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "SqlFailureError"
                  }
                }
              },
              {
                "kind": "identifier",
                "name": "duration",
                "optional": false,
                "tsType": {
                  "repr": "number",
                  "kind": "keyword",
                  "keyword": "number"
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 274,
              "col": 2,
              "byteIndex": 7614
            }
          }
        ],
        "properties": [
          {
            "tsType": {
              "repr": "sql",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "sql"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "kind",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 264,
              "col": 2,
              "byteIndex": 7332
            }
          },
          {
            "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-sql/0.5.0/result.ts",
              "line": 265,
              "col": 2,
              "byteIndex": 7366
            }
          },
          {
            "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-sql/0.5.0/result.ts",
              "line": 266,
              "col": 2,
              "byteIndex": 7405
            }
          },
          {
            "tsType": {
              "repr": "SqlFailureError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "SqlFailureError"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 267,
              "col": 2,
              "byteIndex": 7437
            }
          },
          {
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "rows",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 268,
              "col": 2,
              "byteIndex": 7472
            }
          },
          {
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "rowCount",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 269,
              "col": 2,
              "byteIndex": 7496
            }
          },
          {
            "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-sql/0.5.0/result.ts",
              "line": 270,
              "col": 2,
              "byteIndex": 7524
            }
          },
          {
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "lastInsertId",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 271,
              "col": 2,
              "byteIndex": 7553
            }
          },
          {
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "warnings",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 272,
              "col": 2,
              "byteIndex": 7585
            }
          }
        ],
        "indexSignatures": [],
        "methods": [
          {
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "map",
            "kind": "method",
            "functionDef": {
              "params": [
                {
                  "kind": "identifier",
                  "name": "_mapper",
                  "optional": false,
                  "tsType": {
                    "repr": "",
                    "kind": "fnOrConstructor",
                    "fnOrConstructor": {
                      "constructor": false,
                      "tsType": {
                        "repr": "U",
                        "kind": "typeRef",
                        "typeRef": {
                          "typeParams": null,
                          "typeName": "U"
                        }
                      },
                      "params": [
                        {
                          "kind": "identifier",
                          "name": "row",
                          "optional": false,
                          "tsType": {
                            "repr": "T",
                            "kind": "typeRef",
                            "typeRef": {
                              "typeParams": null,
                              "typeName": "T"
                            }
                          }
                        }
                      ],
                      "typeParams": []
                    }
                  }
                }
              ],
              "returnType": {
                "repr": "",
                "kind": "array",
                "array": {
                  "repr": "U",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "U"
                  }
                }
              },
              "hasBody": true,
              "isAsync": false,
              "isGenerator": false,
              "typeParams": [
                {
                  "name": "U"
                }
              ]
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 279,
              "col": 2,
              "byteIndex": 7731
            }
          },
          {
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "as",
            "kind": "method",
            "functionDef": {
              "params": [
                {
                  "kind": "identifier",
                  "name": "_ctor",
                  "optional": false,
                  "tsType": {
                    "repr": "",
                    "kind": "fnOrConstructor",
                    "fnOrConstructor": {
                      "constructor": true,
                      "tsType": {
                        "repr": "U",
                        "kind": "typeRef",
                        "typeRef": {
                          "typeParams": null,
                          "typeName": "U"
                        }
                      },
                      "params": [
                        {
                          "kind": "identifier",
                          "name": "row",
                          "optional": false,
                          "tsType": {
                            "repr": "T",
                            "kind": "typeRef",
                            "typeRef": {
                              "typeParams": null,
                              "typeName": "T"
                            }
                          }
                        }
                      ],
                      "typeParams": []
                    }
                  }
                }
              ],
              "returnType": {
                "repr": "",
                "kind": "array",
                "array": {
                  "repr": "U",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "U"
                  }
                }
              },
              "hasBody": true,
              "isAsync": false,
              "isGenerator": false,
              "typeParams": [
                {
                  "name": "U"
                }
              ]
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql/0.5.0/result.ts",
              "line": 283,
              "col": 2,
              "byteIndex": 7791
            }
          }
        ],
        "extends": null,
        "implements": [
          {
            "repr": "SqlQueryResultFailure",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": [
                {
                  "repr": "T",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "T"
                  }
                }
              ],
              "typeName": "SqlQueryResultFailure"
            }
          }
        ],
        "typeParams": [
          {
            "name": "T"
          }
        ],
        "superTypeParams": []
      }
    }
  ]
}
