{
  "name": "client-sql-mysql",
  "specifier": "@probitas/client-sql-mysql",
  "version": "0.5.0",
  "moduleDoc": "MySQL client for [Probitas](https://github.com/probitas-test/probitas) scenario testing framework.\n\nThis package provides a MySQL client designed for integration testing,\nwith transaction support and prepared statement capabilities.\n\n## Features\n\n- **Query Execution**: Parameterized queries with type-safe results\n- **Transactions**: Full transaction support with isolation levels\n- **Prepared Statements**: Automatic parameter escaping and type conversion\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-mysql\n```\n\n## Quick Start\n\n```ts\nimport { createMySqlClient } from \"@probitas/client-sql-mysql\";\n\nconst client = await createMySqlClient({\n  url: {\n    host: \"localhost\",\n    port: 3306,\n    username: \"root\",\n    password: \"secret\",\n    database: \"mydb\",\n  },\n});\n\n// Query with parameters (uses ? placeholders)\nconst result = await client.query<{ id: number; name: string }>(\n  \"SELECT id, name FROM users WHERE active = ?\",\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 = ?\",\n  [1]\n);\n\nawait client.close();\n```\n\n## Transactions\n\n```ts\nimport { createMySqlClient } from \"@probitas/client-sql-mysql\";\nimport type { SqlTransaction } from \"@probitas/client-sql\";\n\nconst client = await createMySqlClient({ url: \"mysql://localhost:3306/testdb\" });\nawait client.transaction(async (tx: SqlTransaction) => {\n  await tx.query(\"INSERT INTO accounts (id, balance) VALUES (?, ?)\", [1, 100]);\n  await tx.query(\"INSERT INTO accounts (id, balance) VALUES (?, ?)\", [2, 200]);\n  // Automatically committed if no error, rolled back on exception\n}, { isolationLevel: \"serializable\" });\nawait client.close();\n```\n\n## Using with `using` Statement\n\n```ts\nimport { createMySqlClient } from \"@probitas/client-sql-mysql\";\n\nawait using client = await createMySqlClient({\n  url: { host: \"localhost\", username: \"root\", database: \"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-postgres`](https://jsr.io/@probitas/client-sql-postgres) | PostgreSQL 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- [MySQL](https://www.mysql.com/)\n",
  "exports": [
    {
      "name": "MySqlClient",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/client.ts",
        "line": 23,
        "col": 0,
        "byteIndex": 699
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "MySQL 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.",
              "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-mysql/0.5.0/client.ts",
              "line": 37,
              "col": 2,
              "byteIndex": 1100
            },
            "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-mysql/0.5.0/client.ts",
              "line": 50,
              "col": 2,
              "byteIndex": 1477
            },
            "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.\nAutomatically commits on success or rolls back on error.",
              "tags": [
                {
                  "kind": "param",
                  "name": "fn",
                  "doc": "- Function to execute within transaction"
                },
                {
                  "kind": "param",
                  "name": "options",
                  "doc": "- Transaction options"
                }
              ]
            },
            "kind": "method",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/client.ts",
              "line": 62,
              "col": 2,
              "byteIndex": 1834
            },
            "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": "close",
            "jsDoc": {
              "doc": "Close the client and release all connections."
            },
            "kind": "method",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/client.ts",
              "line": 70,
              "col": 2,
              "byteIndex": 2014
            },
            "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-mysql/0.5.0/client.ts",
              "line": 25,
              "col": 2,
              "byteIndex": 791
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "MySqlClientConfig",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MySqlClientConfig"
              }
            },
            "typeParams": []
          },
          {
            "name": "dialect",
            "jsDoc": {
              "doc": "The SQL dialect identifier."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/client.ts",
              "line": 28,
              "col": 2,
              "byteIndex": 867
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "mysql",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "mysql"
              }
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "createMySqlClient",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/client.ts",
        "line": 193,
        "col": 0,
        "byteIndex": 5524
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Create a new MySQL client instance with connection pooling.\n\nThe client provides connection pooling, parameterized queries, transaction support,\nand automatic result type mapping.\n",
        "tags": [
          {
            "kind": "param",
            "name": "config",
            "doc": "- MySQL client configuration"
          },
          {
            "kind": "return",
            "doc": "A promise resolving to a new MySQL client instance\n"
          },
          {
            "kind": "example",
            "doc": "Using URL string\n```ts\nimport { createMySqlClient } from \"@probitas/client-sql-mysql\";\n\nconst client = await createMySqlClient({\n  url: \"mysql://user:password@localhost:3306/testdb\",\n});\n\nconst result = await client.query<{ id: number; name: string }>(\n  \"SELECT * FROM users WHERE id = ?\",\n  [1],\n);\nif (result.ok) {\n  console.log(result.rows[0]);  // { id: 1, name: \"Alice\" }\n}\n\nawait client.close();\n```\n"
          },
          {
            "kind": "example",
            "doc": "Using connection config object\n```ts\nimport { createMySqlClient } from \"@probitas/client-sql-mysql\";\n\nconst client = await createMySqlClient({\n  url: {\n    host: \"localhost\",\n    port: 3306,\n    username: \"root\",\n    password: \"password\",\n    database: \"testdb\",\n  },\n  pool: { connectionLimit: 20 },\n});\nawait client.close();\n```\n"
          },
          {
            "kind": "example",
            "doc": "Transaction with auto-commit/rollback\n```ts\nimport { createMySqlClient } from \"@probitas/client-sql-mysql\";\nimport type { SqlTransaction } from \"@probitas/client-sql\";\n\nconst client = await createMySqlClient({ url: \"mysql://localhost:3306/testdb\" });\nconst user = await client.transaction(async (tx: SqlTransaction) => {\n  await tx.query(\"INSERT INTO users (name) VALUES (?)\", [\"Alice\"]);\n  return await tx.queryOne(\"SELECT LAST_INSERT_ID() as id\");\n});\nawait client.close();\n```\n"
          },
          {
            "kind": "example",
            "doc": "Using `await using` for automatic cleanup\n```ts\nimport { createMySqlClient } from \"@probitas/client-sql-mysql\";\n\nawait using client = await createMySqlClient({\n  url: \"mysql://localhost:3306/testdb\",\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": "MySqlClientConfig",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MySqlClientConfig"
              }
            }
          }
        ],
        "returnType": {
          "repr": "Promise",
          "kind": "typeRef",
          "typeRef": {
            "typeParams": [
              {
                "repr": "MySqlClient",
                "kind": "typeRef",
                "typeRef": {
                  "typeParams": null,
                  "typeName": "MySqlClient"
                }
              }
            ],
            "typeName": "Promise"
          }
        },
        "hasBody": true,
        "isAsync": true,
        "isGenerator": false,
        "typeParams": []
      }
    },
    {
      "name": "MySqlTransaction",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/transaction.ts",
        "line": 19,
        "col": 0,
        "byteIndex": 489
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "MySQL-specific transaction interface.\nExtends SqlTransaction with MySQL-specific features."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "SqlTransaction",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "SqlTransaction"
            }
          }
        ],
        "constructors": [],
        "methods": [
          {
            "name": "savepoint",
            "jsDoc": {
              "doc": "Create a savepoint.",
              "tags": [
                {
                  "kind": "param",
                  "name": "name",
                  "doc": "- Savepoint name"
                }
              ]
            },
            "kind": "method",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/transaction.ts",
              "line": 24,
              "col": 2,
              "byteIndex": 621
            },
            "params": [
              {
                "kind": "identifier",
                "name": "name",
                "optional": false,
                "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": "rollbackToSavepoint",
            "jsDoc": {
              "doc": "Rollback to a savepoint.",
              "tags": [
                {
                  "kind": "param",
                  "name": "name",
                  "doc": "- Savepoint name"
                }
              ]
            },
            "kind": "method",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/transaction.ts",
              "line": 30,
              "col": 2,
              "byteIndex": 740
            },
            "params": [
              {
                "kind": "identifier",
                "name": "name",
                "optional": false,
                "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": "releaseSavepoint",
            "jsDoc": {
              "doc": "Release a savepoint.",
              "tags": [
                {
                  "kind": "param",
                  "name": "name",
                  "doc": "- Savepoint name"
                }
              ]
            },
            "kind": "method",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/transaction.ts",
              "line": 36,
              "col": 2,
              "byteIndex": 865
            },
            "params": [
              {
                "kind": "identifier",
                "name": "name",
                "optional": false,
                "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": []
          }
        ],
        "properties": [],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "MySqlTransactionImpl",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/transaction.ts",
        "line": 49,
        "col": 0,
        "byteIndex": 1220
      },
      "declarationKind": "export",
      "kind": "class",
      "classDef": {
        "isAbstract": false,
        "constructors": [
          {
            "accessibility": "private",
            "hasBody": true,
            "name": "constructor",
            "params": [
              {
                "kind": "identifier",
                "name": "connection",
                "optional": false,
                "tsType": {
                  "repr": "AnyPoolConnection",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "AnyPoolConnection"
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/transaction.ts",
              "line": 53,
              "col": 2,
              "byteIndex": 1351
            }
          }
        ],
        "properties": [],
        "indexSignatures": [],
        "methods": [
          {
            "jsDoc": {
              "doc": "Begin a new transaction."
            },
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": true,
            "name": "begin",
            "kind": "method",
            "functionDef": {
              "params": [
                {
                  "kind": "identifier",
                  "name": "connection",
                  "optional": false,
                  "tsType": {
                    "repr": "AnyPoolConnection",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": null,
                      "typeName": "AnyPoolConnection"
                    }
                  }
                },
                {
                  "kind": "identifier",
                  "name": "options",
                  "optional": true,
                  "tsType": {
                    "repr": "SqlTransactionOptions",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": null,
                      "typeName": "SqlTransactionOptions"
                    }
                  }
                }
              ],
              "returnType": {
                "repr": "Promise",
                "kind": "typeRef",
                "typeRef": {
                  "typeParams": [
                    {
                      "repr": "MySqlTransactionImpl",
                      "kind": "typeRef",
                      "typeRef": {
                        "typeParams": null,
                        "typeName": "MySqlTransactionImpl"
                      }
                    }
                  ],
                  "typeName": "Promise"
                }
              },
              "hasBody": true,
              "isAsync": true,
              "isGenerator": false,
              "typeParams": []
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/transaction.ts",
              "line": 60,
              "col": 2,
              "byteIndex": 1488
            }
          },
          {
            "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-mysql/0.5.0/transaction.ts",
              "line": 81,
              "col": 2,
              "byteIndex": 2162
            }
          },
          {
            "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-mysql/0.5.0/transaction.ts",
              "line": 145,
              "col": 2,
              "byteIndex": 4127
            }
          },
          {
            "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-mysql/0.5.0/transaction.ts",
              "line": 162,
              "col": 2,
              "byteIndex": 4592
            }
          },
          {
            "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-mysql/0.5.0/transaction.ts",
              "line": 177,
              "col": 2,
              "byteIndex": 4935
            }
          },
          {
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "savepoint",
            "kind": "method",
            "functionDef": {
              "params": [
                {
                  "kind": "identifier",
                  "name": "name",
                  "optional": false,
                  "tsType": {
                    "repr": "string",
                    "kind": "keyword",
                    "keyword": "string"
                  }
                }
              ],
              "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-mysql/0.5.0/transaction.ts",
              "line": 192,
              "col": 2,
              "byteIndex": 5282
            }
          },
          {
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "rollbackToSavepoint",
            "kind": "method",
            "functionDef": {
              "params": [
                {
                  "kind": "identifier",
                  "name": "name",
                  "optional": false,
                  "tsType": {
                    "repr": "string",
                    "kind": "keyword",
                    "keyword": "string"
                  }
                }
              ],
              "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-mysql/0.5.0/transaction.ts",
              "line": 205,
              "col": 2,
              "byteIndex": 5683
            }
          },
          {
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "releaseSavepoint",
            "kind": "method",
            "functionDef": {
              "params": [
                {
                  "kind": "identifier",
                  "name": "name",
                  "optional": false,
                  "tsType": {
                    "repr": "string",
                    "kind": "keyword",
                    "keyword": "string"
                  }
                }
              ],
              "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-mysql/0.5.0/transaction.ts",
              "line": 220,
              "col": 2,
              "byteIndex": 6125
            }
          }
        ],
        "extends": null,
        "implements": [
          {
            "repr": "MySqlTransaction",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "MySqlTransaction"
            }
          }
        ],
        "typeParams": [],
        "superTypeParams": []
      }
    },
    {
      "name": "MySqlTlsConfig",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/types.ts",
        "line": 6,
        "col": 0,
        "byteIndex": 143
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "TLS/SSL configuration for MySQL connections."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "ca",
            "jsDoc": {
              "doc": "Root CA certificate (PEM format)."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/types.ts",
              "line": 8,
              "col": 2,
              "byteIndex": 222
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "typeParams": []
          },
          {
            "name": "cert",
            "jsDoc": {
              "doc": "Client certificate (PEM format)."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/types.ts",
              "line": 10,
              "col": 2,
              "byteIndex": 288
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "typeParams": []
          },
          {
            "name": "key",
            "jsDoc": {
              "doc": "Client private key (PEM format)."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/types.ts",
              "line": 12,
              "col": 2,
              "byteIndex": 356
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "typeParams": []
          },
          {
            "name": "rejectUnauthorized",
            "jsDoc": {
              "doc": "Skip server certificate verification (use only for testing)."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/types.ts",
              "line": 14,
              "col": 2,
              "byteIndex": 451
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "boolean",
              "kind": "keyword",
              "keyword": "boolean"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "MySqlPoolConfig",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/types.ts",
        "line": 20,
        "col": 0,
        "byteIndex": 535
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Connection pool configuration."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "connectionLimit",
            "jsDoc": {
              "doc": "Maximum number of connections in the pool.",
              "tags": [
                {
                  "kind": "unsupported",
                  "value": "@default 10"
                }
              ]
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/types.ts",
              "line": 25,
              "col": 2,
              "byteIndex": 649
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "number",
              "kind": "keyword",
              "keyword": "number"
            },
            "typeParams": []
          },
          {
            "name": "minConnections",
            "jsDoc": {
              "doc": "Minimum number of idle connections.",
              "tags": [
                {
                  "kind": "unsupported",
                  "value": "@default 0"
                }
              ]
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/types.ts",
              "line": 31,
              "col": 2,
              "byteIndex": 756
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "number",
              "kind": "keyword",
              "keyword": "number"
            },
            "typeParams": []
          },
          {
            "name": "queueLimit",
            "jsDoc": {
              "doc": "Maximum number of connection requests the pool will queue.",
              "tags": [
                {
                  "kind": "unsupported",
                  "value": "@default 0 (unlimited)"
                }
              ]
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/types.ts",
              "line": 37,
              "col": 2,
              "byteIndex": 897
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "number",
              "kind": "keyword",
              "keyword": "number"
            },
            "typeParams": []
          },
          {
            "name": "waitForConnections",
            "jsDoc": {
              "doc": "Whether to wait for connections to become available.",
              "tags": [
                {
                  "kind": "unsupported",
                  "value": "@default true"
                }
              ]
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/types.ts",
              "line": 43,
              "col": 2,
              "byteIndex": 1019
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "boolean",
              "kind": "keyword",
              "keyword": "boolean"
            },
            "typeParams": []
          },
          {
            "name": "idleTimeout",
            "jsDoc": {
              "doc": "Time in milliseconds before connection is considered idle.",
              "tags": [
                {
                  "kind": "unsupported",
                  "value": "@default 10000"
                }
              ]
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/types.ts",
              "line": 49,
              "col": 2,
              "byteIndex": 1157
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "number",
              "kind": "keyword",
              "keyword": "number"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "MySqlConnectionConfig",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/types.ts",
        "line": 57,
        "col": 0,
        "byteIndex": 1300
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "MySQL connection configuration.\n\nExtends CommonConnectionConfig with MySQL-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-mysql/0.5.0/types.ts",
              "line": 61,
              "col": 2,
              "byteIndex": 1420
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "typeParams": []
          },
          {
            "name": "tls",
            "jsDoc": {
              "doc": "TLS configuration."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/types.ts",
              "line": 66,
              "col": 2,
              "byteIndex": 1487
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "MySqlTlsConfig",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MySqlTlsConfig"
              }
            },
            "typeParams": []
          },
          {
            "name": "charset",
            "jsDoc": {
              "doc": "Character set."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/types.ts",
              "line": 71,
              "col": 2,
              "byteIndex": 1553
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "MySqlClientConfig",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/types.ts",
        "line": 77,
        "col": 0,
        "byteIndex": 1637
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Configuration for creating a MySQL client."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "CommonOptions",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "CommonOptions"
            }
          }
        ],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "url",
            "jsDoc": {
              "doc": "Connection URL or configuration.\n\nCan be a connection URL string (e.g., \"mysql://user:pass@host:port/database\")\nor a detailed MySqlConnectionConfig object."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/types.ts",
              "line": 84,
              "col": 2,
              "byteIndex": 1885
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "",
              "kind": "union",
              "union": [
                {
                  "repr": "string",
                  "kind": "keyword",
                  "keyword": "string"
                },
                {
                  "repr": "MySqlConnectionConfig",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "MySqlConnectionConfig"
                  }
                }
              ]
            },
            "typeParams": []
          },
          {
            "name": "pool",
            "jsDoc": {
              "doc": "Connection pool configuration."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/types.ts",
              "line": 87,
              "col": 2,
              "byteIndex": 1974
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "MySqlPoolConfig",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MySqlPoolConfig"
              }
            },
            "typeParams": []
          },
          {
            "name": "timezone",
            "jsDoc": {
              "doc": "Timezone for the connection."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/types.ts",
              "line": 90,
              "col": 2,
              "byteIndex": 2048
            },
            "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-mysql/0.5.0/types.ts",
              "line": 98,
              "col": 2,
              "byteIndex": 2304
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "boolean",
              "kind": "keyword",
              "keyword": "boolean"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "MySqlErrorKind",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/errors.ts",
        "line": 13,
        "col": 0,
        "byteIndex": 201
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "MySQL-specific error kinds."
      },
      "kind": "typeAlias",
      "typeAliasDef": {
        "tsType": {
          "repr": "",
          "kind": "union",
          "union": [
            {
              "repr": "access_denied",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "access_denied"
              }
            },
            {
              "repr": "connection_refused",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "connection_refused"
              }
            }
          ]
        },
        "typeParams": []
      }
    },
    {
      "name": "MySqlErrorOptions",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/errors.ts",
        "line": 18,
        "col": 0,
        "byteIndex": 318
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Options for MySqlError constructor."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "SqlErrorOptions",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "SqlErrorOptions"
            }
          }
        ],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "errno",
            "jsDoc": {
              "doc": "MySQL error code (e.g., 1045, 1062)."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/errors.ts",
              "line": 20,
              "col": 2,
              "byteIndex": 427
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "number",
              "kind": "keyword",
              "keyword": "number"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "MySqlError",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/errors.ts",
        "line": 27,
        "col": 0,
        "byteIndex": 573
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Base error class for MySQL-specific errors.\nExtends SqlError with MySQL-specific properties like errno."
      },
      "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": "MySqlErrorOptions",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "MySqlErrorOptions"
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/errors.ts",
              "line": 31,
              "col": 2,
              "byteIndex": 695
            }
          }
        ],
        "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-mysql/0.5.0/errors.ts",
              "line": 28,
              "col": 2,
              "byteIndex": 618
            }
          },
          {
            "tsType": {
              "repr": "number",
              "kind": "keyword",
              "keyword": "number"
            },
            "readonly": true,
            "accessibility": null,
            "optional": true,
            "isAbstract": false,
            "isStatic": false,
            "name": "errno",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/errors.ts",
              "line": 29,
              "col": 2,
              "byteIndex": 667
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": "SqlError",
        "implements": [],
        "typeParams": [],
        "superTypeParams": []
      }
    },
    {
      "name": "AccessDeniedError",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/errors.ts",
        "line": 43,
        "col": 0,
        "byteIndex": 915
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Error thrown when access is denied (wrong credentials)."
      },
      "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": "MySqlErrorOptions",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "MySqlErrorOptions"
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/errors.ts",
              "line": 47,
              "col": 2,
              "byteIndex": 1067
            }
          }
        ],
        "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-mysql/0.5.0/errors.ts",
              "line": 44,
              "col": 2,
              "byteIndex": 969
            }
          },
          {
            "tsType": {
              "repr": "access_denied",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "access_denied"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "mysqlKind",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/errors.ts",
              "line": 45,
              "col": 2,
              "byteIndex": 1017
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": "MySqlError",
        "implements": [],
        "typeParams": [],
        "superTypeParams": []
      }
    },
    {
      "name": "ConnectionRefusedError",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/errors.ts",
        "line": 55,
        "col": 0,
        "byteIndex": 1215
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Error thrown when connection is refused."
      },
      "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": "MySqlErrorOptions",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "MySqlErrorOptions"
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/errors.ts",
              "line": 59,
              "col": 2,
              "byteIndex": 1382
            }
          }
        ],
        "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-mysql/0.5.0/errors.ts",
              "line": 56,
              "col": 2,
              "byteIndex": 1274
            }
          },
          {
            "tsType": {
              "repr": "connection_refused",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "connection_refused"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "mysqlKind",
            "location": {
              "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/errors.ts",
              "line": 57,
              "col": 2,
              "byteIndex": 1327
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": "MySqlError",
        "implements": [],
        "typeParams": [],
        "superTypeParams": []
      }
    },
    {
      "name": "isConnectionError",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/errors.ts",
        "line": 83,
        "col": 0,
        "byteIndex": 2146
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Check if an error is a connection-level error."
      },
      "kind": "function",
      "functionDef": {
        "params": [
          {
            "kind": "identifier",
            "name": "error",
            "optional": false,
            "tsType": {
              "repr": "unknown",
              "kind": "keyword",
              "keyword": "unknown"
            }
          }
        ],
        "returnType": {
          "repr": "boolean",
          "kind": "keyword",
          "keyword": "boolean"
        },
        "hasBody": true,
        "isAsync": false,
        "isGenerator": false,
        "typeParams": []
      }
    },
    {
      "name": "convertMySqlError",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-sql-mysql/0.5.0/errors.ts",
        "line": 138,
        "col": 0,
        "byteIndex": 3349
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Convert a mysql2 error to the appropriate error class."
      },
      "kind": "function",
      "functionDef": {
        "params": [
          {
            "kind": "identifier",
            "name": "error",
            "optional": false,
            "tsType": {
              "repr": "unknown",
              "kind": "keyword",
              "keyword": "unknown"
            }
          }
        ],
        "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": []
      }
    }
  ]
}
