{
  "name": "client-mongodb",
  "specifier": "@probitas/client-mongodb",
  "version": "0.6.0",
  "moduleDoc": "MongoDB client for [Probitas](https://github.com/probitas-test/probitas) scenario testing framework.\n\nThis package provides a MongoDB client designed for integration testing of applications using MongoDB.\n\n## Features\n\n- **CRUD Operations**: find, findOne, insertOne, insertMany, updateOne, updateMany, deleteOne, deleteMany\n- **Aggregations**: Full aggregation pipeline support\n- **Sessions**: Transaction support with sessions\n- **Type Safety**: Generic type parameters for document types\n- **Resource Management**: Implements `AsyncDisposable` for proper cleanup\n\n## Installation\n\n```bash\ndeno add jsr:@probitas/client-mongodb\n```\n\n## Quick Start\n\n```ts\nimport { createMongoClient } from \"@probitas/client-mongodb\";\n\nconst client = await createMongoClient({\n  url: \"mongodb://localhost:27017\",\n  database: \"testdb\",\n});\n\n// Get a collection\nconst users = client.collection<{ name: string; email: string }>(\"users\");\n\n// Insert a document\nconst insertResult = await users.insertOne({ name: \"Alice\", email: \"alice@example.com\" });\nif (insertResult.ok) {\n  console.log(\"Inserted ID:\", insertResult.insertedId);\n} else {\n  console.error(\"Insert failed:\", insertResult.error.message);\n}\n\n// Find documents\nconst findResult = await users.find({ name: \"Alice\" });\nif (findResult.ok) {\n  console.log(\"Found:\", findResult.docs);\n}\n\n// Find one document\nconst user = await users.findOne({ name: \"Alice\" });\nif (user.ok) {\n  console.log(\"User:\", user.doc);\n}\n\nawait client.close();\n```\n\n## Transactions\n\n```ts\nimport { createMongoClient, type MongoSession } from \"@probitas/client-mongodb\";\n\nconst client = await createMongoClient({\n  url: \"mongodb://localhost:27017\",\n  database: \"testdb\",\n});\n\nawait client.transaction(async (session: MongoSession) => {\n  const accounts = client.collection(\"accounts\");\n  await accounts.updateOne(\n    { _id: \"from\" },\n    { $inc: { balance: -100 } },\n  );\n  await accounts.updateOne(\n    { _id: \"to\" },\n    { $inc: { balance: 100 } },\n  );\n});\n\nawait client.close();\n```\n\n## Using with `using` Statement\n\n```ts\nimport { createMongoClient } from \"@probitas/client-mongodb\";\n\nawait using client = await createMongoClient({\n  url: \"mongodb://localhost:27017\",\n  database: \"testdb\",\n});\n\nconst result = await client.collection(\"test\").findOne({});\nconsole.log(result?.doc);\n// Client automatically closed when block exits\n```\n\n## Related Packages\n\n| Package | Description |\n|---------|-------------|\n| [`@probitas/client`](https://jsr.io/@probitas/client) | Core utilities and types |\n\n## Links\n\n- [GitHub Repository](https://github.com/probitas-test/probitas-client)\n- [Probitas Framework](https://github.com/probitas-test/probitas)\n- [MongoDB](https://www.mongodb.com/)\n",
  "exports": [
    {
      "name": "MongoCountResult",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 370,
        "col": 0,
        "byteIndex": 9217
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Count result."
      },
      "kind": "typeAlias",
      "typeAliasDef": {
        "tsType": {
          "repr": "",
          "kind": "union",
          "union": [
            {
              "repr": "MongoCountResultSuccess",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoCountResultSuccess"
              }
            },
            {
              "repr": "MongoCountResultError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoCountResultError"
              }
            },
            {
              "repr": "MongoCountResultFailure",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoCountResultFailure"
              }
            }
          ]
        },
        "typeParams": []
      }
    },
    {
      "name": "MongoDeleteResult",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 320,
        "col": 0,
        "byteIndex": 8040
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Delete result."
      },
      "kind": "typeAlias",
      "typeAliasDef": {
        "tsType": {
          "repr": "",
          "kind": "union",
          "union": [
            {
              "repr": "MongoDeleteResultSuccess",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoDeleteResultSuccess"
              }
            },
            {
              "repr": "MongoDeleteResultError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoDeleteResultError"
              }
            },
            {
              "repr": "MongoDeleteResultFailure",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoDeleteResultFailure"
              }
            }
          ]
        },
        "typeParams": []
      }
    },
    {
      "name": "MongoFailureError",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/errors.ts",
        "line": 146,
        "col": 0,
        "byteIndex": 3726
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Error types that indicate the operation was not processed.\nThese are errors that occur before the operation reaches the MongoDB server."
      },
      "kind": "typeAlias",
      "typeAliasDef": {
        "tsType": {
          "repr": "",
          "kind": "union",
          "union": [
            {
              "repr": "MongoConnectionError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoConnectionError"
              }
            },
            {
              "repr": "AbortError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "AbortError"
              }
            },
            {
              "repr": "TimeoutError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "TimeoutError"
              }
            }
          ]
        },
        "typeParams": []
      }
    },
    {
      "name": "MongoFindOneResult",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 106,
        "col": 0,
        "byteIndex": 2581
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "FindOne result."
      },
      "kind": "typeAlias",
      "typeAliasDef": {
        "tsType": {
          "repr": "",
          "kind": "union",
          "union": [
            {
              "repr": "MongoFindOneResultSuccess",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "T",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": null,
                      "typeName": "T"
                    }
                  }
                ],
                "typeName": "MongoFindOneResultSuccess"
              }
            },
            {
              "repr": "MongoFindOneResultError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "T",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": null,
                      "typeName": "T"
                    }
                  }
                ],
                "typeName": "MongoFindOneResultError"
              }
            },
            {
              "repr": "MongoFindOneResultFailure",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "T",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": null,
                      "typeName": "T"
                    }
                  }
                ],
                "typeName": "MongoFindOneResultFailure"
              }
            }
          ]
        },
        "typeParams": [
          {
            "name": "T",
            "default": {
              "repr": "Document",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "Document"
              }
            }
          }
        ]
      }
    },
    {
      "name": "MongoFindResult",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 53,
        "col": 0,
        "byteIndex": 1311
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Query result (find, aggregate)."
      },
      "kind": "typeAlias",
      "typeAliasDef": {
        "tsType": {
          "repr": "",
          "kind": "union",
          "union": [
            {
              "repr": "MongoFindResultSuccess",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "T",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": null,
                      "typeName": "T"
                    }
                  }
                ],
                "typeName": "MongoFindResultSuccess"
              }
            },
            {
              "repr": "MongoFindResultError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "T",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": null,
                      "typeName": "T"
                    }
                  }
                ],
                "typeName": "MongoFindResultError"
              }
            },
            {
              "repr": "MongoFindResultFailure",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "T",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": null,
                      "typeName": "T"
                    }
                  }
                ],
                "typeName": "MongoFindResultFailure"
              }
            }
          ]
        },
        "typeParams": [
          {
            "name": "T",
            "default": {
              "repr": "Document",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "Document"
              }
            }
          }
        ]
      }
    },
    {
      "name": "MongoInsertManyResult",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 212,
        "col": 0,
        "byteIndex": 5313
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Insert many result."
      },
      "kind": "typeAlias",
      "typeAliasDef": {
        "tsType": {
          "repr": "",
          "kind": "union",
          "union": [
            {
              "repr": "MongoInsertManyResultSuccess",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoInsertManyResultSuccess"
              }
            },
            {
              "repr": "MongoInsertManyResultError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoInsertManyResultError"
              }
            },
            {
              "repr": "MongoInsertManyResultFailure",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoInsertManyResultFailure"
              }
            }
          ]
        },
        "typeParams": []
      }
    },
    {
      "name": "MongoInsertOneResult",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 156,
        "col": 0,
        "byteIndex": 3863
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Insert one result."
      },
      "kind": "typeAlias",
      "typeAliasDef": {
        "tsType": {
          "repr": "",
          "kind": "union",
          "union": [
            {
              "repr": "MongoInsertOneResultSuccess",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoInsertOneResultSuccess"
              }
            },
            {
              "repr": "MongoInsertOneResultError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoInsertOneResultError"
              }
            },
            {
              "repr": "MongoInsertOneResultFailure",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoInsertOneResultFailure"
              }
            }
          ]
        },
        "typeParams": []
      }
    },
    {
      "name": "MongoResult",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 383,
        "col": 0,
        "byteIndex": 9589
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Union of all MongoDB result types."
      },
      "kind": "typeAlias",
      "typeAliasDef": {
        "tsType": {
          "repr": "",
          "kind": "union",
          "union": [
            {
              "repr": "MongoFindResult",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "T",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": null,
                      "typeName": "T"
                    }
                  }
                ],
                "typeName": "MongoFindResult"
              }
            },
            {
              "repr": "MongoInsertOneResult",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoInsertOneResult"
              }
            },
            {
              "repr": "MongoInsertManyResult",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoInsertManyResult"
              }
            },
            {
              "repr": "MongoUpdateResult",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoUpdateResult"
              }
            },
            {
              "repr": "MongoDeleteResult",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoDeleteResult"
              }
            },
            {
              "repr": "MongoFindOneResult",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "T",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": null,
                      "typeName": "T"
                    }
                  }
                ],
                "typeName": "MongoFindOneResult"
              }
            },
            {
              "repr": "MongoCountResult",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoCountResult"
              }
            }
          ]
        },
        "typeParams": [
          {
            "name": "T",
            "default": {
              "repr": "any",
              "kind": "keyword",
              "keyword": "any"
            }
          }
        ]
      }
    },
    {
      "name": "MongoUpdateResult",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 270,
        "col": 0,
        "byteIndex": 6821
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Update result."
      },
      "kind": "typeAlias",
      "typeAliasDef": {
        "tsType": {
          "repr": "",
          "kind": "union",
          "union": [
            {
              "repr": "MongoUpdateResultSuccess",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoUpdateResultSuccess"
              }
            },
            {
              "repr": "MongoUpdateResultError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoUpdateResultError"
              }
            },
            {
              "repr": "MongoUpdateResultFailure",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoUpdateResultFailure"
              }
            }
          ]
        },
        "typeParams": []
      }
    },
    {
      "name": "MongoOptions",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/types.ts",
        "line": 29,
        "col": 0,
        "byteIndex": 603
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Common options with throwOnError support."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "CommonOptions",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "CommonOptions"
            }
          }
        ],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "throwOnError",
            "jsDoc": {
              "doc": "If true, throws errors instead of returning them in the result.\nIf false (default), errors are returned in the result object.",
              "tags": [
                {
                  "kind": "unsupported",
                  "value": "@default false"
                }
              ]
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/types.ts",
              "line": 35,
              "col": 2,
              "byteIndex": 827
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "boolean",
              "kind": "keyword",
              "keyword": "boolean"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "MongoConnectionConfig",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/types.ts",
        "line": 43,
        "col": 0,
        "byteIndex": 976
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "MongoDB connection configuration.\n\nExtends CommonConnectionConfig with MongoDB-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-mongodb/0.6.0/types.ts",
              "line": 47,
              "col": 2,
              "byteIndex": 1096
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "typeParams": []
          },
          {
            "name": "authSource",
            "jsDoc": {
              "doc": "Authentication database."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/types.ts",
              "line": 52,
              "col": 2,
              "byteIndex": 1169
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "typeParams": []
          },
          {
            "name": "replicaSet",
            "jsDoc": {
              "doc": "Replica set name."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/types.ts",
              "line": 57,
              "col": 2,
              "byteIndex": 1237
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "Document",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/types.ts",
        "line": 64,
        "col": 0,
        "byteIndex": 1339
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "MongoDB document type"
      },
      "kind": "typeAlias",
      "typeAliasDef": {
        "tsType": {
          "repr": "Record",
          "kind": "typeRef",
          "typeRef": {
            "typeParams": [
              {
                "repr": "string",
                "kind": "keyword",
                "keyword": "string"
              },
              {
                "repr": "T",
                "kind": "typeRef",
                "typeRef": {
                  "typeParams": null,
                  "typeName": "T"
                }
              }
            ],
            "typeName": "Record"
          }
        },
        "typeParams": [
          {
            "name": "T",
            "default": {
              "repr": "any",
              "kind": "keyword",
              "keyword": "any"
            }
          }
        ]
      }
    },
    {
      "name": "Filter",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/types.ts",
        "line": 71,
        "col": 0,
        "byteIndex": 1561
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "MongoDB filter type (simplified for compatibility with mongodb driver)\nAllows query operators like $gte, $lt, $in, etc."
      },
      "kind": "typeAlias",
      "typeAliasDef": {
        "tsType": {
          "repr": "Record",
          "kind": "typeRef",
          "typeRef": {
            "typeParams": [
              {
                "repr": "string",
                "kind": "keyword",
                "keyword": "string"
              },
              {
                "repr": "any",
                "kind": "keyword",
                "keyword": "any"
              }
            ],
            "typeName": "Record"
          }
        },
        "typeParams": []
      }
    },
    {
      "name": "UpdateFilter",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/types.ts",
        "line": 78,
        "col": 0,
        "byteIndex": 1786
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "MongoDB update filter type (simplified for compatibility with mongodb driver)\nAllows update operators like $set, $inc, $unset, etc."
      },
      "kind": "typeAlias",
      "typeAliasDef": {
        "tsType": {
          "repr": "Record",
          "kind": "typeRef",
          "typeRef": {
            "typeParams": [
              {
                "repr": "string",
                "kind": "keyword",
                "keyword": "string"
              },
              {
                "repr": "any",
                "kind": "keyword",
                "keyword": "any"
              }
            ],
            "typeName": "Record"
          }
        },
        "typeParams": []
      }
    },
    {
      "name": "MongoFindOptions",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/types.ts",
        "line": 83,
        "col": 0,
        "byteIndex": 1867
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "MongoDB find options"
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "MongoOptions",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "MongoOptions"
            }
          }
        ],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "sort",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/types.ts",
              "line": 84,
              "col": 2,
              "byteIndex": 1926
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "Record",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "string",
                    "kind": "keyword",
                    "keyword": "string"
                  },
                  {
                    "repr": "",
                    "kind": "union",
                    "union": [
                      {
                        "repr": "1",
                        "kind": "literal",
                        "literal": {
                          "kind": "number",
                          "number": 1
                        }
                      },
                      {
                        "repr": "-1",
                        "kind": "literal",
                        "literal": {
                          "kind": "number",
                          "number": -1
                        }
                      }
                    ]
                  }
                ],
                "typeName": "Record"
              }
            },
            "typeParams": []
          },
          {
            "name": "limit",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/types.ts",
              "line": 85,
              "col": 2,
              "byteIndex": 1968
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "number",
              "kind": "keyword",
              "keyword": "number"
            },
            "typeParams": []
          },
          {
            "name": "skip",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/types.ts",
              "line": 86,
              "col": 2,
              "byteIndex": 1995
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "number",
              "kind": "keyword",
              "keyword": "number"
            },
            "typeParams": []
          },
          {
            "name": "projection",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/types.ts",
              "line": 87,
              "col": 2,
              "byteIndex": 2021
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "Record",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "string",
                    "kind": "keyword",
                    "keyword": "string"
                  },
                  {
                    "repr": "",
                    "kind": "union",
                    "union": [
                      {
                        "repr": "0",
                        "kind": "literal",
                        "literal": {
                          "kind": "number",
                          "number": 0
                        }
                      },
                      {
                        "repr": "1",
                        "kind": "literal",
                        "literal": {
                          "kind": "number",
                          "number": 1
                        }
                      }
                    ]
                  }
                ],
                "typeName": "Record"
              }
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "MongoUpdateOptions",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/types.ts",
        "line": 93,
        "col": 0,
        "byteIndex": 2103
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "MongoDB update options"
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "MongoOptions",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "MongoOptions"
            }
          }
        ],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "upsert",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/types.ts",
              "line": 94,
              "col": 2,
              "byteIndex": 2164
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "boolean",
              "kind": "keyword",
              "keyword": "boolean"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "MongoClientConfig",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/types.ts",
        "line": 122,
        "col": 0,
        "byteIndex": 2678
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "MongoDB client configuration.\n",
        "tags": [
          {
            "kind": "example",
            "doc": "Using a connection string\n```ts\nconst config: MongoClientConfig = {\n  url: \"mongodb://localhost:27017\",\n  database: \"testdb\",\n};\n```\n"
          },
          {
            "kind": "example",
            "doc": "Using a configuration object\n```ts\nconst config: MongoClientConfig = {\n  url: {\n    host: \"localhost\",\n    port: 27017,\n    username: \"admin\",\n    password: \"secret\",\n    authSource: \"admin\",\n  },\n  database: \"testdb\",\n};\n```"
          }
        ]
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "MongoOptions",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "MongoOptions"
            }
          }
        ],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "url",
            "jsDoc": {
              "doc": "MongoDB connection URL or configuration object."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/types.ts",
              "line": 126,
              "col": 2,
              "byteIndex": 2803
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "",
              "kind": "union",
              "union": [
                {
                  "repr": "string",
                  "kind": "keyword",
                  "keyword": "string"
                },
                {
                  "repr": "MongoConnectionConfig",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "MongoConnectionConfig"
                  }
                }
              ]
            },
            "typeParams": []
          },
          {
            "name": "database",
            "jsDoc": {
              "doc": "Database name to connect to."
            },
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/types.ts",
              "line": 131,
              "col": 2,
              "byteIndex": 2898
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "MongoSession",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/types.ts",
        "line": 137,
        "col": 0,
        "byteIndex": 2984
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "MongoDB session interface (for transactions)"
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [],
        "constructors": [],
        "methods": [
          {
            "name": "collection",
            "kind": "method",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/types.ts",
              "line": 138,
              "col": 2,
              "byteIndex": 3018
            },
            "params": [
              {
                "kind": "identifier",
                "name": "name",
                "optional": false,
                "tsType": {
                  "repr": "string",
                  "kind": "keyword",
                  "keyword": "string"
                }
              }
            ],
            "optional": false,
            "returnType": {
              "repr": "MongoCollection",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "T",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": null,
                      "typeName": "T"
                    }
                  }
                ],
                "typeName": "MongoCollection"
              }
            },
            "typeParams": [
              {
                "name": "T",
                "constraint": {
                  "repr": "Document",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "Document"
                  }
                },
                "default": {
                  "repr": "Document",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "Document"
                  }
                }
              }
            ]
          }
        ],
        "properties": [],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "MongoCollection",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/types.ts",
        "line": 144,
        "col": 0,
        "byteIndex": 3138
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "MongoDB collection interface"
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [],
        "constructors": [],
        "methods": [
          {
            "name": "find",
            "kind": "method",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/types.ts",
              "line": 145,
              "col": 2,
              "byteIndex": 3195
            },
            "params": [
              {
                "kind": "identifier",
                "name": "filter",
                "optional": true,
                "tsType": {
                  "repr": "Filter",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "Filter"
                  }
                }
              },
              {
                "kind": "identifier",
                "name": "options",
                "optional": true,
                "tsType": {
                  "repr": "MongoFindOptions",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "MongoFindOptions"
                  }
                }
              }
            ],
            "optional": false,
            "returnType": {
              "repr": "Promise",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "MongoFindResult",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": [
                        {
                          "repr": "T",
                          "kind": "typeRef",
                          "typeRef": {
                            "typeParams": null,
                            "typeName": "T"
                          }
                        }
                      ],
                      "typeName": "MongoFindResult"
                    }
                  }
                ],
                "typeName": "Promise"
              }
            },
            "typeParams": []
          },
          {
            "name": "findOne",
            "kind": "method",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/types.ts",
              "line": 149,
              "col": 2,
              "byteIndex": 3290
            },
            "params": [
              {
                "kind": "identifier",
                "name": "filter",
                "optional": false,
                "tsType": {
                  "repr": "Filter",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "Filter"
                  }
                }
              },
              {
                "kind": "identifier",
                "name": "options",
                "optional": true,
                "tsType": {
                  "repr": "MongoOptions",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "MongoOptions"
                  }
                }
              }
            ],
            "optional": false,
            "returnType": {
              "repr": "Promise",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "MongoFindOneResult",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": [
                        {
                          "repr": "T",
                          "kind": "typeRef",
                          "typeRef": {
                            "typeParams": null,
                            "typeName": "T"
                          }
                        }
                      ],
                      "typeName": "MongoFindOneResult"
                    }
                  }
                ],
                "typeName": "Promise"
              }
            },
            "typeParams": []
          },
          {
            "name": "insertOne",
            "kind": "method",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/types.ts",
              "line": 153,
              "col": 2,
              "byteIndex": 3386
            },
            "params": [
              {
                "kind": "identifier",
                "name": "doc",
                "optional": false,
                "tsType": {
                  "repr": "Omit",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": [
                      {
                        "repr": "T",
                        "kind": "typeRef",
                        "typeRef": {
                          "typeParams": null,
                          "typeName": "T"
                        }
                      },
                      {
                        "repr": "_id",
                        "kind": "literal",
                        "literal": {
                          "kind": "string",
                          "string": "_id"
                        }
                      }
                    ],
                    "typeName": "Omit"
                  }
                }
              },
              {
                "kind": "identifier",
                "name": "options",
                "optional": true,
                "tsType": {
                  "repr": "MongoOptions",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "MongoOptions"
                  }
                }
              }
            ],
            "optional": false,
            "returnType": {
              "repr": "Promise",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "MongoInsertOneResult",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": null,
                      "typeName": "MongoInsertOneResult"
                    }
                  }
                ],
                "typeName": "Promise"
              }
            },
            "typeParams": []
          },
          {
            "name": "insertMany",
            "kind": "method",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/types.ts",
              "line": 157,
              "col": 2,
              "byteIndex": 3488
            },
            "params": [
              {
                "kind": "identifier",
                "name": "docs",
                "optional": false,
                "tsType": {
                  "repr": "",
                  "kind": "array",
                  "array": {
                    "repr": "Omit",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": [
                        {
                          "repr": "T",
                          "kind": "typeRef",
                          "typeRef": {
                            "typeParams": null,
                            "typeName": "T"
                          }
                        },
                        {
                          "repr": "_id",
                          "kind": "literal",
                          "literal": {
                            "kind": "string",
                            "string": "_id"
                          }
                        }
                      ],
                      "typeName": "Omit"
                    }
                  }
                }
              },
              {
                "kind": "identifier",
                "name": "options",
                "optional": true,
                "tsType": {
                  "repr": "MongoOptions",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "MongoOptions"
                  }
                }
              }
            ],
            "optional": false,
            "returnType": {
              "repr": "Promise",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "MongoInsertManyResult",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": null,
                      "typeName": "MongoInsertManyResult"
                    }
                  }
                ],
                "typeName": "Promise"
              }
            },
            "typeParams": []
          },
          {
            "name": "updateOne",
            "kind": "method",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/types.ts",
              "line": 161,
              "col": 2,
              "byteIndex": 3595
            },
            "params": [
              {
                "kind": "identifier",
                "name": "filter",
                "optional": false,
                "tsType": {
                  "repr": "Filter",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "Filter"
                  }
                }
              },
              {
                "kind": "identifier",
                "name": "update",
                "optional": false,
                "tsType": {
                  "repr": "UpdateFilter",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "UpdateFilter"
                  }
                }
              },
              {
                "kind": "identifier",
                "name": "options",
                "optional": true,
                "tsType": {
                  "repr": "MongoUpdateOptions",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "MongoUpdateOptions"
                  }
                }
              }
            ],
            "optional": false,
            "returnType": {
              "repr": "Promise",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "MongoUpdateResult",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": null,
                      "typeName": "MongoUpdateResult"
                    }
                  }
                ],
                "typeName": "Promise"
              }
            },
            "typeParams": []
          },
          {
            "name": "updateMany",
            "kind": "method",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/types.ts",
              "line": 166,
              "col": 2,
              "byteIndex": 3721
            },
            "params": [
              {
                "kind": "identifier",
                "name": "filter",
                "optional": false,
                "tsType": {
                  "repr": "Filter",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "Filter"
                  }
                }
              },
              {
                "kind": "identifier",
                "name": "update",
                "optional": false,
                "tsType": {
                  "repr": "UpdateFilter",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "UpdateFilter"
                  }
                }
              },
              {
                "kind": "identifier",
                "name": "options",
                "optional": true,
                "tsType": {
                  "repr": "MongoUpdateOptions",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "MongoUpdateOptions"
                  }
                }
              }
            ],
            "optional": false,
            "returnType": {
              "repr": "Promise",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "MongoUpdateResult",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": null,
                      "typeName": "MongoUpdateResult"
                    }
                  }
                ],
                "typeName": "Promise"
              }
            },
            "typeParams": []
          },
          {
            "name": "deleteOne",
            "kind": "method",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/types.ts",
              "line": 171,
              "col": 2,
              "byteIndex": 3848
            },
            "params": [
              {
                "kind": "identifier",
                "name": "filter",
                "optional": false,
                "tsType": {
                  "repr": "Filter",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "Filter"
                  }
                }
              },
              {
                "kind": "identifier",
                "name": "options",
                "optional": true,
                "tsType": {
                  "repr": "MongoOptions",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "MongoOptions"
                  }
                }
              }
            ],
            "optional": false,
            "returnType": {
              "repr": "Promise",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "MongoDeleteResult",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": null,
                      "typeName": "MongoDeleteResult"
                    }
                  }
                ],
                "typeName": "Promise"
              }
            },
            "typeParams": []
          },
          {
            "name": "deleteMany",
            "kind": "method",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/types.ts",
              "line": 175,
              "col": 2,
              "byteIndex": 3942
            },
            "params": [
              {
                "kind": "identifier",
                "name": "filter",
                "optional": false,
                "tsType": {
                  "repr": "Filter",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "Filter"
                  }
                }
              },
              {
                "kind": "identifier",
                "name": "options",
                "optional": true,
                "tsType": {
                  "repr": "MongoOptions",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "MongoOptions"
                  }
                }
              }
            ],
            "optional": false,
            "returnType": {
              "repr": "Promise",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "MongoDeleteResult",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": null,
                      "typeName": "MongoDeleteResult"
                    }
                  }
                ],
                "typeName": "Promise"
              }
            },
            "typeParams": []
          },
          {
            "name": "aggregate",
            "kind": "method",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/types.ts",
              "line": 179,
              "col": 2,
              "byteIndex": 4037
            },
            "params": [
              {
                "kind": "identifier",
                "name": "pipeline",
                "optional": false,
                "tsType": {
                  "repr": "",
                  "kind": "array",
                  "array": {
                    "repr": "Document",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": null,
                      "typeName": "Document"
                    }
                  }
                }
              },
              {
                "kind": "identifier",
                "name": "options",
                "optional": true,
                "tsType": {
                  "repr": "MongoOptions",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "MongoOptions"
                  }
                }
              }
            ],
            "optional": false,
            "returnType": {
              "repr": "Promise",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "MongoFindResult",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": [
                        {
                          "repr": "R",
                          "kind": "typeRef",
                          "typeRef": {
                            "typeParams": null,
                            "typeName": "R"
                          }
                        }
                      ],
                      "typeName": "MongoFindResult"
                    }
                  }
                ],
                "typeName": "Promise"
              }
            },
            "typeParams": [
              {
                "name": "R",
                "default": {
                  "repr": "T",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "T"
                  }
                }
              }
            ]
          },
          {
            "name": "countDocuments",
            "kind": "method",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/types.ts",
              "line": 183,
              "col": 2,
              "byteIndex": 4145
            },
            "params": [
              {
                "kind": "identifier",
                "name": "filter",
                "optional": true,
                "tsType": {
                  "repr": "Filter",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "Filter"
                  }
                }
              },
              {
                "kind": "identifier",
                "name": "options",
                "optional": true,
                "tsType": {
                  "repr": "MongoOptions",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "MongoOptions"
                  }
                }
              }
            ],
            "optional": false,
            "returnType": {
              "repr": "Promise",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "MongoCountResult",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": null,
                      "typeName": "MongoCountResult"
                    }
                  }
                ],
                "typeName": "Promise"
              }
            },
            "typeParams": []
          }
        ],
        "properties": [],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": [
          {
            "name": "T",
            "constraint": {
              "repr": "Document",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "Document"
              }
            }
          }
        ]
      }
    },
    {
      "name": "MongoClient",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/types.ts",
        "line": 192,
        "col": 0,
        "byteIndex": 4281
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "MongoDB client interface"
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "AsyncDisposable",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "AsyncDisposable"
            }
          }
        ],
        "constructors": [],
        "methods": [
          {
            "name": "collection",
            "kind": "method",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/types.ts",
              "line": 195,
              "col": 2,
              "byteIndex": 4377
            },
            "params": [
              {
                "kind": "identifier",
                "name": "name",
                "optional": false,
                "tsType": {
                  "repr": "string",
                  "kind": "keyword",
                  "keyword": "string"
                }
              }
            ],
            "optional": false,
            "returnType": {
              "repr": "MongoCollection",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "T",
                    "kind": "typeRef",
                    "typeRef": {
                      "typeParams": null,
                      "typeName": "T"
                    }
                  }
                ],
                "typeName": "MongoCollection"
              }
            },
            "typeParams": [
              {
                "name": "T",
                "constraint": {
                  "repr": "Document",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "Document"
                  }
                },
                "default": {
                  "repr": "Document",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "Document"
                  }
                }
              }
            ]
          },
          {
            "name": "db",
            "kind": "method",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/types.ts",
              "line": 196,
              "col": 2,
              "byteIndex": 4456
            },
            "params": [
              {
                "kind": "identifier",
                "name": "name",
                "optional": false,
                "tsType": {
                  "repr": "string",
                  "kind": "keyword",
                  "keyword": "string"
                }
              }
            ],
            "optional": false,
            "returnType": {
              "repr": "MongoClient",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoClient"
              }
            },
            "typeParams": []
          },
          {
            "name": "transaction",
            "kind": "method",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/types.ts",
              "line": 197,
              "col": 2,
              "byteIndex": 4489
            },
            "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": "session",
                        "optional": false,
                        "tsType": {
                          "repr": "MongoSession",
                          "kind": "typeRef",
                          "typeRef": {
                            "typeParams": null,
                            "typeName": "MongoSession"
                          }
                        }
                      }
                    ],
                    "typeParams": []
                  }
                }
              }
            ],
            "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",
            "kind": "method",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/types.ts",
              "line": 199,
              "col": 2,
              "byteIndex": 4563
            },
            "params": [],
            "optional": false,
            "returnType": {
              "repr": "Promise",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "void",
                    "kind": "keyword",
                    "keyword": "void"
                  }
                ],
                "typeName": "Promise"
              }
            },
            "typeParams": []
          }
        ],
        "properties": [
          {
            "name": "config",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/types.ts",
              "line": 193,
              "col": 2,
              "byteIndex": 4338
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "MongoClientConfig",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoClientConfig"
              }
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "MongoErrorOptions",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/errors.ts",
        "line": 6,
        "col": 0,
        "byteIndex": 121
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Options for MongoDB errors."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "ErrorOptions",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "ErrorOptions"
            }
          }
        ],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "code",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/errors.ts",
              "line": 7,
              "col": 2,
              "byteIndex": 181
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": true,
            "tsType": {
              "repr": "number",
              "kind": "keyword",
              "keyword": "number"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "MongoError",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/errors.ts",
        "line": 13,
        "col": 0,
        "byteIndex": 263
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Base error class for MongoDB client 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": "assign",
                "left": {
                  "kind": "identifier",
                  "name": "kind",
                  "optional": false,
                  "tsType": {
                    "repr": "string",
                    "kind": "keyword",
                    "keyword": "string"
                  }
                },
                "right": "mongo",
                "tsType": null
              },
              {
                "kind": "identifier",
                "name": "options",
                "optional": true,
                "tsType": {
                  "repr": "MongoErrorOptions",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "MongoErrorOptions"
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/errors.ts",
              "line": 17,
              "col": 2,
              "byteIndex": 387
            }
          }
        ],
        "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-mongodb/0.6.0/errors.ts",
              "line": 14,
              "col": 2,
              "byteIndex": 311
            }
          },
          {
            "tsType": {
              "repr": "number",
              "kind": "keyword",
              "keyword": "number"
            },
            "readonly": true,
            "accessibility": null,
            "optional": true,
            "isAbstract": false,
            "isStatic": false,
            "name": "code",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/errors.ts",
              "line": 15,
              "col": 2,
              "byteIndex": 360
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": "ClientError",
        "implements": [],
        "typeParams": [],
        "superTypeParams": []
      }
    },
    {
      "name": "MongoConnectionError",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/errors.ts",
        "line": 30,
        "col": 0,
        "byteIndex": 634
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Error thrown when a MongoDB connection cannot be established."
      },
      "kind": "class",
      "classDef": {
        "isAbstract": false,
        "constructors": [
          {
            "accessibility": null,
            "hasBody": true,
            "name": "constructor",
            "params": [
              {
                "kind": "identifier",
                "name": "message",
                "optional": false,
                "tsType": {
                  "repr": "string",
                  "kind": "keyword",
                  "keyword": "string"
                }
              },
              {
                "kind": "identifier",
                "name": "options",
                "optional": true,
                "tsType": {
                  "repr": "MongoErrorOptions",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "MongoErrorOptions"
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/errors.ts",
              "line": 34,
              "col": 2,
              "byteIndex": 793
            }
          }
        ],
        "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-mongodb/0.6.0/errors.ts",
              "line": 31,
              "col": 2,
              "byteIndex": 691
            }
          },
          {
            "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-mongodb/0.6.0/errors.ts",
              "line": 32,
              "col": 2,
              "byteIndex": 742
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": "MongoError",
        "implements": [],
        "typeParams": [],
        "superTypeParams": []
      }
    },
    {
      "name": "MongoQueryError",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/errors.ts",
        "line": 42,
        "col": 0,
        "byteIndex": 955
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Error thrown when a MongoDB query fails."
      },
      "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": "collection",
                "optional": false,
                "tsType": {
                  "repr": "string",
                  "kind": "keyword",
                  "keyword": "string"
                }
              },
              {
                "kind": "identifier",
                "name": "options",
                "optional": true,
                "tsType": {
                  "repr": "MongoErrorOptions",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "MongoErrorOptions"
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/errors.ts",
              "line": 47,
              "col": 2,
              "byteIndex": 1130
            }
          }
        ],
        "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-mongodb/0.6.0/errors.ts",
              "line": 43,
              "col": 2,
              "byteIndex": 1007
            }
          },
          {
            "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-mongodb/0.6.0/errors.ts",
              "line": 44,
              "col": 2,
              "byteIndex": 1053
            }
          },
          {
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "collection",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/errors.ts",
              "line": 45,
              "col": 2,
              "byteIndex": 1098
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": "MongoError",
        "implements": [],
        "typeParams": [],
        "superTypeParams": []
      }
    },
    {
      "name": "MongoDuplicateKeyError",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/errors.ts",
        "line": 60,
        "col": 0,
        "byteIndex": 1375
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Error thrown when a duplicate key constraint is violated."
      },
      "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": "keyPattern",
                "optional": false,
                "tsType": {
                  "repr": "Record",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": [
                      {
                        "repr": "string",
                        "kind": "keyword",
                        "keyword": "string"
                      },
                      {
                        "repr": "number",
                        "kind": "keyword",
                        "keyword": "number"
                      }
                    ],
                    "typeName": "Record"
                  }
                }
              },
              {
                "kind": "identifier",
                "name": "keyValue",
                "optional": false,
                "tsType": {
                  "repr": "Record",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": [
                      {
                        "repr": "string",
                        "kind": "keyword",
                        "keyword": "string"
                      },
                      {
                        "repr": "unknown",
                        "kind": "keyword",
                        "keyword": "unknown"
                      }
                    ],
                    "typeName": "Record"
                  }
                }
              },
              {
                "kind": "identifier",
                "name": "options",
                "optional": true,
                "tsType": {
                  "repr": "MongoErrorOptions",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "MongoErrorOptions"
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/errors.ts",
              "line": 66,
              "col": 2,
              "byteIndex": 1634
            }
          }
        ],
        "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-mongodb/0.6.0/errors.ts",
              "line": 61,
              "col": 2,
              "byteIndex": 1434
            }
          },
          {
            "tsType": {
              "repr": "duplicate_key",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "duplicate_key"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "isOverride": true,
            "name": "kind",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/errors.ts",
              "line": 62,
              "col": 2,
              "byteIndex": 1487
            }
          },
          {
            "tsType": {
              "repr": "Record",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "string",
                    "kind": "keyword",
                    "keyword": "string"
                  },
                  {
                    "repr": "number",
                    "kind": "keyword",
                    "keyword": "number"
                  }
                ],
                "typeName": "Record"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "keyPattern",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/errors.ts",
              "line": 63,
              "col": 2,
              "byteIndex": 1540
            }
          },
          {
            "tsType": {
              "repr": "Record",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": [
                  {
                    "repr": "string",
                    "kind": "keyword",
                    "keyword": "string"
                  },
                  {
                    "repr": "unknown",
                    "kind": "keyword",
                    "keyword": "unknown"
                  }
                ],
                "typeName": "Record"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "keyValue",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/errors.ts",
              "line": 64,
              "col": 2,
              "byteIndex": 1587
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": "MongoError",
        "implements": [],
        "typeParams": [],
        "superTypeParams": []
      }
    },
    {
      "name": "MongoValidationError",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/errors.ts",
        "line": 81,
        "col": 0,
        "byteIndex": 1979
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Error thrown when document validation fails."
      },
      "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": "validationErrors",
                "optional": false,
                "tsType": {
                  "repr": "",
                  "kind": "typeOperator",
                  "typeOperator": {
                    "operator": "readonly",
                    "tsType": {
                      "repr": "",
                      "kind": "array",
                      "array": {
                        "repr": "string",
                        "kind": "keyword",
                        "keyword": "string"
                      }
                    }
                  }
                }
              },
              {
                "kind": "identifier",
                "name": "options",
                "optional": true,
                "tsType": {
                  "repr": "MongoErrorOptions",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "MongoErrorOptions"
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/errors.ts",
              "line": 86,
              "col": 2,
              "byteIndex": 2186
            }
          }
        ],
        "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-mongodb/0.6.0/errors.ts",
              "line": 82,
              "col": 2,
              "byteIndex": 2036
            }
          },
          {
            "tsType": {
              "repr": "validation",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "validation"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "isOverride": true,
            "name": "kind",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/errors.ts",
              "line": 83,
              "col": 2,
              "byteIndex": 2087
            }
          },
          {
            "tsType": {
              "repr": "",
              "kind": "typeOperator",
              "typeOperator": {
                "operator": "readonly",
                "tsType": {
                  "repr": "",
                  "kind": "array",
                  "array": {
                    "repr": "string",
                    "kind": "keyword",
                    "keyword": "string"
                  }
                }
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "validationErrors",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/errors.ts",
              "line": 84,
              "col": 2,
              "byteIndex": 2137
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": "MongoError",
        "implements": [],
        "typeParams": [],
        "superTypeParams": []
      }
    },
    {
      "name": "MongoWriteError",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/errors.ts",
        "line": 99,
        "col": 0,
        "byteIndex": 2450
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Error thrown when a write operation fails."
      },
      "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": "writeErrors",
                "optional": false,
                "tsType": {
                  "repr": "",
                  "kind": "typeOperator",
                  "typeOperator": {
                    "operator": "readonly",
                    "tsType": {
                      "repr": "",
                      "kind": "array",
                      "array": {
                        "repr": "",
                        "kind": "typeLiteral",
                        "typeLiteral": {
                          "constructors": [],
                          "methods": [],
                          "properties": [
                            {
                              "name": "index",
                              "location": {
                                "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/errors.ts",
                                "line": 110,
                                "col": 28,
                                "byteIndex": 2756
                              },
                              "params": [],
                              "computed": false,
                              "optional": false,
                              "tsType": {
                                "repr": "number",
                                "kind": "keyword",
                                "keyword": "number"
                              },
                              "typeParams": []
                            },
                            {
                              "name": "code",
                              "location": {
                                "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/errors.ts",
                                "line": 110,
                                "col": 43,
                                "byteIndex": 2771
                              },
                              "params": [],
                              "computed": false,
                              "optional": false,
                              "tsType": {
                                "repr": "number",
                                "kind": "keyword",
                                "keyword": "number"
                              },
                              "typeParams": []
                            },
                            {
                              "name": "message",
                              "location": {
                                "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/errors.ts",
                                "line": 110,
                                "col": 57,
                                "byteIndex": 2785
                              },
                              "params": [],
                              "computed": false,
                              "optional": false,
                              "tsType": {
                                "repr": "string",
                                "kind": "keyword",
                                "keyword": "string"
                              },
                              "typeParams": []
                            }
                          ],
                          "callSignatures": [],
                          "indexSignatures": []
                        }
                      }
                    }
                  }
                }
              },
              {
                "kind": "identifier",
                "name": "options",
                "optional": true,
                "tsType": {
                  "repr": "MongoErrorOptions",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "MongoErrorOptions"
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/errors.ts",
              "line": 108,
              "col": 2,
              "byteIndex": 2694
            }
          }
        ],
        "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-mongodb/0.6.0/errors.ts",
              "line": 100,
              "col": 2,
              "byteIndex": 2502
            }
          },
          {
            "tsType": {
              "repr": "write",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "write"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "isOverride": true,
            "name": "kind",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/errors.ts",
              "line": 101,
              "col": 2,
              "byteIndex": 2548
            }
          },
          {
            "tsType": {
              "repr": "",
              "kind": "typeOperator",
              "typeOperator": {
                "operator": "readonly",
                "tsType": {
                  "repr": "",
                  "kind": "array",
                  "array": {
                    "repr": "",
                    "kind": "typeLiteral",
                    "typeLiteral": {
                      "constructors": [],
                      "methods": [],
                      "properties": [
                        {
                          "name": "index",
                          "location": {
                            "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/errors.ts",
                            "line": 103,
                            "col": 4,
                            "byteIndex": 2630
                          },
                          "params": [],
                          "computed": false,
                          "optional": false,
                          "tsType": {
                            "repr": "number",
                            "kind": "keyword",
                            "keyword": "number"
                          },
                          "typeParams": []
                        },
                        {
                          "name": "code",
                          "location": {
                            "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/errors.ts",
                            "line": 104,
                            "col": 4,
                            "byteIndex": 2649
                          },
                          "params": [],
                          "computed": false,
                          "optional": false,
                          "tsType": {
                            "repr": "number",
                            "kind": "keyword",
                            "keyword": "number"
                          },
                          "typeParams": []
                        },
                        {
                          "name": "message",
                          "location": {
                            "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/errors.ts",
                            "line": 105,
                            "col": 4,
                            "byteIndex": 2667
                          },
                          "params": [],
                          "computed": false,
                          "optional": false,
                          "tsType": {
                            "repr": "string",
                            "kind": "keyword",
                            "keyword": "string"
                          },
                          "typeParams": []
                        }
                      ],
                      "callSignatures": [],
                      "indexSignatures": []
                    }
                  }
                }
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "writeErrors",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/errors.ts",
              "line": 102,
              "col": 2,
              "byteIndex": 2593
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": "MongoError",
        "implements": [],
        "typeParams": [],
        "superTypeParams": []
      }
    },
    {
      "name": "MongoNotFoundError",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/errors.ts",
        "line": 121,
        "col": 0,
        "byteIndex": 3012
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Error thrown when a document is not found (for firstOrThrow, lastOrThrow)."
      },
      "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": "MongoErrorOptions",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "MongoErrorOptions"
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/errors.ts",
              "line": 125,
              "col": 2,
              "byteIndex": 3166
            }
          }
        ],
        "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-mongodb/0.6.0/errors.ts",
              "line": 122,
              "col": 2,
              "byteIndex": 3067
            }
          },
          {
            "tsType": {
              "repr": "not_found",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "not_found"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "isOverride": true,
            "name": "kind",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/errors.ts",
              "line": 123,
              "col": 2,
              "byteIndex": 3116
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": "MongoError",
        "implements": [],
        "typeParams": [],
        "superTypeParams": []
      }
    },
    {
      "name": "MongoOperationError",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/errors.ts",
        "line": 134,
        "col": 0,
        "byteIndex": 3410
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Error types that indicate a MongoDB operation error.\nThese are errors where the operation reached the server but failed."
      },
      "kind": "typeAlias",
      "typeAliasDef": {
        "tsType": {
          "repr": "",
          "kind": "union",
          "union": [
            {
              "repr": "MongoQueryError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoQueryError"
              }
            },
            {
              "repr": "MongoDuplicateKeyError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoDuplicateKeyError"
              }
            },
            {
              "repr": "MongoValidationError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoValidationError"
              }
            },
            {
              "repr": "MongoWriteError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoWriteError"
              }
            },
            {
              "repr": "MongoNotFoundError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoNotFoundError"
              }
            },
            {
              "repr": "MongoError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoError"
              }
            }
          ]
        },
        "typeParams": []
      }
    },
    {
      "name": "MongoFindResultSuccess",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 20,
        "col": 0,
        "byteIndex": 577
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Successful find result."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "MongoFindResultBase",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": [
                {
                  "repr": "T",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "T"
                  }
                }
              ],
              "typeName": "MongoFindResultBase"
            }
          }
        ],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "processed",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 22,
              "col": 2,
              "byteIndex": 668
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "true",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": true
              }
            },
            "typeParams": []
          },
          {
            "name": "ok",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 23,
              "col": 2,
              "byteIndex": 696
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "true",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": true
              }
            },
            "typeParams": []
          },
          {
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 24,
              "col": 2,
              "byteIndex": 717
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "typeParams": []
          },
          {
            "name": "docs",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 25,
              "col": 2,
              "byteIndex": 741
            },
            "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": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": [
          {
            "name": "T",
            "default": {
              "repr": "Document",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "Document"
              }
            }
          }
        ]
      }
    },
    {
      "name": "MongoFindResultError",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 31,
        "col": 0,
        "byteIndex": 816
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Find result with MongoDB error."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "MongoFindResultBase",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": [
                {
                  "repr": "T",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "T"
                  }
                }
              ],
              "typeName": "MongoFindResultBase"
            }
          }
        ],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "processed",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 33,
              "col": 2,
              "byteIndex": 905
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "true",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": true
              }
            },
            "typeParams": []
          },
          {
            "name": "ok",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 34,
              "col": 2,
              "byteIndex": 933
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "false",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": false
              }
            },
            "typeParams": []
          },
          {
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 35,
              "col": 2,
              "byteIndex": 955
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "MongoError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoError"
              }
            },
            "typeParams": []
          },
          {
            "name": "docs",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 36,
              "col": 2,
              "byteIndex": 985
            },
            "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": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": [
          {
            "name": "T",
            "default": {
              "repr": "Document",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "Document"
              }
            }
          }
        ]
      }
    },
    {
      "name": "MongoFindResultFailure",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 42,
        "col": 0,
        "byteIndex": 1065
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Find result with connection failure."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "MongoFindResultBase",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": [
                {
                  "repr": "T",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "T"
                  }
                }
              ],
              "typeName": "MongoFindResultBase"
            }
          }
        ],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "processed",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 44,
              "col": 2,
              "byteIndex": 1156
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "false",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": false
              }
            },
            "typeParams": []
          },
          {
            "name": "ok",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 45,
              "col": 2,
              "byteIndex": 1185
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "false",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": false
              }
            },
            "typeParams": []
          },
          {
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 46,
              "col": 2,
              "byteIndex": 1207
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "MongoFailureError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoFailureError"
              }
            },
            "typeParams": []
          },
          {
            "name": "docs",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 47,
              "col": 2,
              "byteIndex": 1244
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": [
          {
            "name": "T",
            "default": {
              "repr": "Document",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "Document"
              }
            }
          }
        ]
      }
    },
    {
      "name": "MongoFindOneResultSuccess",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 73,
        "col": 0,
        "byteIndex": 1854
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Successful findOne result."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "MongoFindOneResultBase",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": [
                {
                  "repr": "T",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "T"
                  }
                }
              ],
              "typeName": "MongoFindOneResultBase"
            }
          }
        ],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "processed",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 75,
              "col": 2,
              "byteIndex": 1951
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "true",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": true
              }
            },
            "typeParams": []
          },
          {
            "name": "ok",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 76,
              "col": 2,
              "byteIndex": 1979
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "true",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": true
              }
            },
            "typeParams": []
          },
          {
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 77,
              "col": 2,
              "byteIndex": 2000
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "typeParams": []
          },
          {
            "name": "doc",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 78,
              "col": 2,
              "byteIndex": 2024
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "",
              "kind": "union",
              "union": [
                {
                  "repr": "T",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "T"
                  }
                },
                {
                  "repr": "null",
                  "kind": "keyword",
                  "keyword": "null"
                }
              ]
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": [
          {
            "name": "T",
            "default": {
              "repr": "Document",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "Document"
              }
            }
          }
        ]
      }
    },
    {
      "name": "MongoFindOneResultError",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 84,
        "col": 0,
        "byteIndex": 2097
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "FindOne result with MongoDB error."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "MongoFindOneResultBase",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": [
                {
                  "repr": "T",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "T"
                  }
                }
              ],
              "typeName": "MongoFindOneResultBase"
            }
          }
        ],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "processed",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 86,
              "col": 2,
              "byteIndex": 2192
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "true",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": true
              }
            },
            "typeParams": []
          },
          {
            "name": "ok",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 87,
              "col": 2,
              "byteIndex": 2220
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "false",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": false
              }
            },
            "typeParams": []
          },
          {
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 88,
              "col": 2,
              "byteIndex": 2242
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "MongoError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoError"
              }
            },
            "typeParams": []
          },
          {
            "name": "doc",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 89,
              "col": 2,
              "byteIndex": 2272
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": [
          {
            "name": "T",
            "default": {
              "repr": "Document",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "Document"
              }
            }
          }
        ]
      }
    },
    {
      "name": "MongoFindOneResultFailure",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 95,
        "col": 0,
        "byteIndex": 2346
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "FindOne result with connection failure."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "MongoFindOneResultBase",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": [
                {
                  "repr": "T",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "T"
                  }
                }
              ],
              "typeName": "MongoFindOneResultBase"
            }
          }
        ],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "processed",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 97,
              "col": 2,
              "byteIndex": 2443
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "false",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": false
              }
            },
            "typeParams": []
          },
          {
            "name": "ok",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 98,
              "col": 2,
              "byteIndex": 2472
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "false",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": false
              }
            },
            "typeParams": []
          },
          {
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 99,
              "col": 2,
              "byteIndex": 2494
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "MongoFailureError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoFailureError"
              }
            },
            "typeParams": []
          },
          {
            "name": "doc",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 100,
              "col": 2,
              "byteIndex": 2531
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": [
          {
            "name": "T",
            "default": {
              "repr": "Document",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "Document"
              }
            }
          }
        ]
      }
    },
    {
      "name": "MongoInsertOneResultSuccess",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 126,
        "col": 0,
        "byteIndex": 3155
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Successful insertOne result."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "MongoInsertOneResultBase",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "MongoInsertOneResultBase"
            }
          }
        ],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "processed",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 127,
              "col": 2,
              "byteIndex": 3237
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "true",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": true
              }
            },
            "typeParams": []
          },
          {
            "name": "ok",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 128,
              "col": 2,
              "byteIndex": 3265
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "true",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": true
              }
            },
            "typeParams": []
          },
          {
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 129,
              "col": 2,
              "byteIndex": 3286
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "typeParams": []
          },
          {
            "name": "insertedId",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 130,
              "col": 2,
              "byteIndex": 3310
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "MongoInsertOneResultError",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 136,
        "col": 0,
        "byteIndex": 3390
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "InsertOne result with MongoDB error."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "MongoInsertOneResultBase",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "MongoInsertOneResultBase"
            }
          }
        ],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "processed",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 137,
              "col": 2,
              "byteIndex": 3470
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "true",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": true
              }
            },
            "typeParams": []
          },
          {
            "name": "ok",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 138,
              "col": 2,
              "byteIndex": 3498
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "false",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": false
              }
            },
            "typeParams": []
          },
          {
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 139,
              "col": 2,
              "byteIndex": 3520
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "MongoError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoError"
              }
            },
            "typeParams": []
          },
          {
            "name": "insertedId",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 140,
              "col": 2,
              "byteIndex": 3550
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "MongoInsertOneResultFailure",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 146,
        "col": 0,
        "byteIndex": 3633
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "InsertOne result with connection failure."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "MongoInsertOneResultBase",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "MongoInsertOneResultBase"
            }
          }
        ],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "processed",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 147,
              "col": 2,
              "byteIndex": 3715
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "false",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": false
              }
            },
            "typeParams": []
          },
          {
            "name": "ok",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 148,
              "col": 2,
              "byteIndex": 3744
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "false",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": false
              }
            },
            "typeParams": []
          },
          {
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 149,
              "col": 2,
              "byteIndex": 3766
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "MongoFailureError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoFailureError"
              }
            },
            "typeParams": []
          },
          {
            "name": "insertedId",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 150,
              "col": 2,
              "byteIndex": 3803
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "MongoInsertManyResultSuccess",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 177,
        "col": 0,
        "byteIndex": 4480
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Successful insertMany result."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "MongoInsertManyResultBase",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "MongoInsertManyResultBase"
            }
          }
        ],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "processed",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 179,
              "col": 2,
              "byteIndex": 4566
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "true",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": true
              }
            },
            "typeParams": []
          },
          {
            "name": "ok",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 180,
              "col": 2,
              "byteIndex": 4594
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "true",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": true
              }
            },
            "typeParams": []
          },
          {
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 181,
              "col": 2,
              "byteIndex": 4615
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "typeParams": []
          },
          {
            "name": "insertedIds",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 182,
              "col": 2,
              "byteIndex": 4639
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "",
              "kind": "typeOperator",
              "typeOperator": {
                "operator": "readonly",
                "tsType": {
                  "repr": "",
                  "kind": "array",
                  "array": {
                    "repr": "string",
                    "kind": "keyword",
                    "keyword": "string"
                  }
                }
              }
            },
            "typeParams": []
          },
          {
            "name": "insertedCount",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 183,
              "col": 2,
              "byteIndex": 4682
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "number",
              "kind": "keyword",
              "keyword": "number"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "MongoInsertManyResultError",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 189,
        "col": 0,
        "byteIndex": 4766
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "InsertMany result with MongoDB error."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "MongoInsertManyResultBase",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "MongoInsertManyResultBase"
            }
          }
        ],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "processed",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 190,
              "col": 2,
              "byteIndex": 4848
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "true",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": true
              }
            },
            "typeParams": []
          },
          {
            "name": "ok",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 191,
              "col": 2,
              "byteIndex": 4876
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "false",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": false
              }
            },
            "typeParams": []
          },
          {
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 192,
              "col": 2,
              "byteIndex": 4898
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "MongoError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoError"
              }
            },
            "typeParams": []
          },
          {
            "name": "insertedIds",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 193,
              "col": 2,
              "byteIndex": 4928
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "typeParams": []
          },
          {
            "name": "insertedCount",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 194,
              "col": 2,
              "byteIndex": 4958
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "MongoInsertManyResultFailure",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 200,
        "col": 0,
        "byteIndex": 5045
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "InsertMany result with connection failure."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "MongoInsertManyResultBase",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "MongoInsertManyResultBase"
            }
          }
        ],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "processed",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 202,
              "col": 2,
              "byteIndex": 5131
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "false",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": false
              }
            },
            "typeParams": []
          },
          {
            "name": "ok",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 203,
              "col": 2,
              "byteIndex": 5160
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "false",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": false
              }
            },
            "typeParams": []
          },
          {
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 204,
              "col": 2,
              "byteIndex": 5182
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "MongoFailureError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoFailureError"
              }
            },
            "typeParams": []
          },
          {
            "name": "insertedIds",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 205,
              "col": 2,
              "byteIndex": 5219
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "typeParams": []
          },
          {
            "name": "insertedCount",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 206,
              "col": 2,
              "byteIndex": 5249
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "MongoUpdateResultSuccess",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 234,
        "col": 0,
        "byteIndex": 5941
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Successful update result."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "MongoUpdateResultBase",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "MongoUpdateResultBase"
            }
          }
        ],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "processed",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 235,
              "col": 2,
              "byteIndex": 6017
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "true",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": true
              }
            },
            "typeParams": []
          },
          {
            "name": "ok",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 236,
              "col": 2,
              "byteIndex": 6045
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "true",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": true
              }
            },
            "typeParams": []
          },
          {
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 237,
              "col": 2,
              "byteIndex": 6066
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "typeParams": []
          },
          {
            "name": "matchedCount",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 238,
              "col": 2,
              "byteIndex": 6090
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "number",
              "kind": "keyword",
              "keyword": "number"
            },
            "typeParams": []
          },
          {
            "name": "modifiedCount",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 239,
              "col": 2,
              "byteIndex": 6123
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "number",
              "kind": "keyword",
              "keyword": "number"
            },
            "typeParams": []
          },
          {
            "name": "upsertedId",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 240,
              "col": 2,
              "byteIndex": 6157
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "",
              "kind": "union",
              "union": [
                {
                  "repr": "string",
                  "kind": "keyword",
                  "keyword": "string"
                },
                {
                  "repr": "null",
                  "kind": "keyword",
                  "keyword": "null"
                }
              ]
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "MongoUpdateResultError",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 246,
        "col": 0,
        "byteIndex": 6241
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Update result with MongoDB error."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "MongoUpdateResultBase",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "MongoUpdateResultBase"
            }
          }
        ],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "processed",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 247,
              "col": 2,
              "byteIndex": 6315
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "true",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": true
              }
            },
            "typeParams": []
          },
          {
            "name": "ok",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 248,
              "col": 2,
              "byteIndex": 6343
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "false",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": false
              }
            },
            "typeParams": []
          },
          {
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 249,
              "col": 2,
              "byteIndex": 6365
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "MongoError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoError"
              }
            },
            "typeParams": []
          },
          {
            "name": "matchedCount",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 250,
              "col": 2,
              "byteIndex": 6395
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "typeParams": []
          },
          {
            "name": "modifiedCount",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 251,
              "col": 2,
              "byteIndex": 6426
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "typeParams": []
          },
          {
            "name": "upsertedId",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 252,
              "col": 2,
              "byteIndex": 6458
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "MongoUpdateResultFailure",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 258,
        "col": 0,
        "byteIndex": 6538
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Update result with connection failure."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "MongoUpdateResultBase",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "MongoUpdateResultBase"
            }
          }
        ],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "processed",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 259,
              "col": 2,
              "byteIndex": 6614
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "false",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": false
              }
            },
            "typeParams": []
          },
          {
            "name": "ok",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 260,
              "col": 2,
              "byteIndex": 6643
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "false",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": false
              }
            },
            "typeParams": []
          },
          {
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 261,
              "col": 2,
              "byteIndex": 6665
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "MongoFailureError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoFailureError"
              }
            },
            "typeParams": []
          },
          {
            "name": "matchedCount",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 262,
              "col": 2,
              "byteIndex": 6702
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "typeParams": []
          },
          {
            "name": "modifiedCount",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 263,
              "col": 2,
              "byteIndex": 6733
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "typeParams": []
          },
          {
            "name": "upsertedId",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 264,
              "col": 2,
              "byteIndex": 6765
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "MongoDeleteResultSuccess",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 290,
        "col": 0,
        "byteIndex": 7354
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Successful delete result."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "MongoDeleteResultBase",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "MongoDeleteResultBase"
            }
          }
        ],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "processed",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 291,
              "col": 2,
              "byteIndex": 7430
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "true",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": true
              }
            },
            "typeParams": []
          },
          {
            "name": "ok",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 292,
              "col": 2,
              "byteIndex": 7458
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "true",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": true
              }
            },
            "typeParams": []
          },
          {
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 293,
              "col": 2,
              "byteIndex": 7479
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "typeParams": []
          },
          {
            "name": "deletedCount",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 294,
              "col": 2,
              "byteIndex": 7503
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "number",
              "kind": "keyword",
              "keyword": "number"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "MongoDeleteResultError",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 300,
        "col": 0,
        "byteIndex": 7582
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Delete result with MongoDB error."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "MongoDeleteResultBase",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "MongoDeleteResultBase"
            }
          }
        ],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "processed",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 301,
              "col": 2,
              "byteIndex": 7656
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "true",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": true
              }
            },
            "typeParams": []
          },
          {
            "name": "ok",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 302,
              "col": 2,
              "byteIndex": 7684
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "false",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": false
              }
            },
            "typeParams": []
          },
          {
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 303,
              "col": 2,
              "byteIndex": 7706
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "MongoError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoError"
              }
            },
            "typeParams": []
          },
          {
            "name": "deletedCount",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 304,
              "col": 2,
              "byteIndex": 7736
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "MongoDeleteResultFailure",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 310,
        "col": 0,
        "byteIndex": 7818
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Delete result with connection failure."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "MongoDeleteResultBase",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "MongoDeleteResultBase"
            }
          }
        ],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "processed",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 311,
              "col": 2,
              "byteIndex": 7894
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "false",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": false
              }
            },
            "typeParams": []
          },
          {
            "name": "ok",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 312,
              "col": 2,
              "byteIndex": 7923
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "false",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": false
              }
            },
            "typeParams": []
          },
          {
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 313,
              "col": 2,
              "byteIndex": 7945
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "MongoFailureError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoFailureError"
              }
            },
            "typeParams": []
          },
          {
            "name": "deletedCount",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 314,
              "col": 2,
              "byteIndex": 7982
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "MongoCountResultSuccess",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 340,
        "col": 0,
        "byteIndex": 8561
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Successful count result."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "MongoCountResultBase",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "MongoCountResultBase"
            }
          }
        ],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "processed",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 341,
              "col": 2,
              "byteIndex": 8635
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "true",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": true
              }
            },
            "typeParams": []
          },
          {
            "name": "ok",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 342,
              "col": 2,
              "byteIndex": 8663
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "true",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": true
              }
            },
            "typeParams": []
          },
          {
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 343,
              "col": 2,
              "byteIndex": 8684
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "typeParams": []
          },
          {
            "name": "count",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 344,
              "col": 2,
              "byteIndex": 8708
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "number",
              "kind": "keyword",
              "keyword": "number"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "MongoCountResultError",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 350,
        "col": 0,
        "byteIndex": 8779
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Count result with MongoDB error."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "MongoCountResultBase",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "MongoCountResultBase"
            }
          }
        ],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "processed",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 351,
              "col": 2,
              "byteIndex": 8851
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "true",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": true
              }
            },
            "typeParams": []
          },
          {
            "name": "ok",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 352,
              "col": 2,
              "byteIndex": 8879
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "false",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": false
              }
            },
            "typeParams": []
          },
          {
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 353,
              "col": 2,
              "byteIndex": 8901
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "MongoError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoError"
              }
            },
            "typeParams": []
          },
          {
            "name": "count",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 354,
              "col": 2,
              "byteIndex": 8931
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "MongoCountResultFailure",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 360,
        "col": 0,
        "byteIndex": 9005
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Count result with connection failure."
      },
      "kind": "interface",
      "interfaceDef": {
        "extends": [
          {
            "repr": "MongoCountResultBase",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "MongoCountResultBase"
            }
          }
        ],
        "constructors": [],
        "methods": [],
        "properties": [
          {
            "name": "processed",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 361,
              "col": 2,
              "byteIndex": 9079
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "false",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": false
              }
            },
            "typeParams": []
          },
          {
            "name": "ok",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 362,
              "col": 2,
              "byteIndex": 9108
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "false",
              "kind": "literal",
              "literal": {
                "kind": "boolean",
                "boolean": false
              }
            },
            "typeParams": []
          },
          {
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 363,
              "col": 2,
              "byteIndex": 9130
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "MongoFailureError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoFailureError"
              }
            },
            "typeParams": []
          },
          {
            "name": "count",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 364,
              "col": 2,
              "byteIndex": 9167
            },
            "params": [],
            "readonly": true,
            "computed": false,
            "optional": false,
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "typeParams": []
          }
        ],
        "callSignatures": [],
        "indexSignatures": [],
        "typeParams": []
      }
    },
    {
      "name": "MongoFindResultSuccessImpl",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 400,
        "col": 0,
        "byteIndex": 10067
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Implementation class for MongoFindResultSuccess.",
        "tags": [
          {
            "kind": "internal"
          }
        ]
      },
      "kind": "class",
      "classDef": {
        "isAbstract": false,
        "constructors": [
          {
            "accessibility": null,
            "hasBody": true,
            "name": "constructor",
            "params": [
              {
                "kind": "identifier",
                "name": "params",
                "optional": false,
                "tsType": {
                  "repr": "",
                  "kind": "typeLiteral",
                  "typeLiteral": {
                    "constructors": [],
                    "methods": [],
                    "properties": [
                      {
                        "name": "docs",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 410,
                          "col": 4,
                          "byteIndex": 10386
                        },
                        "params": [],
                        "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": "duration",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 411,
                          "col": 4,
                          "byteIndex": 10410
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "number",
                          "kind": "keyword",
                          "keyword": "number"
                        },
                        "typeParams": []
                      }
                    ],
                    "callSignatures": [],
                    "indexSignatures": []
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 409,
              "col": 2,
              "byteIndex": 10360
            }
          }
        ],
        "properties": [
          {
            "tsType": {
              "repr": "mongo:find",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "mongo:find"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "kind",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 402,
              "col": 2,
              "byteIndex": 10164
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 403,
              "col": 2,
              "byteIndex": 10205
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 404,
              "col": 2,
              "byteIndex": 10243
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 405,
              "col": 2,
              "byteIndex": 10274
            }
          },
          {
            "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": "docs",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 406,
              "col": 2,
              "byteIndex": 10299
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 407,
              "col": 2,
              "byteIndex": 10330
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": null,
        "implements": [
          {
            "repr": "MongoFindResultSuccess",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": [
                {
                  "repr": "T",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "T"
                  }
                }
              ],
              "typeName": "MongoFindResultSuccess"
            }
          }
        ],
        "typeParams": [
          {
            "name": "T",
            "default": {
              "repr": "Document",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "Document"
              }
            }
          }
        ],
        "superTypeParams": []
      }
    },
    {
      "name": "MongoFindResultErrorImpl",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 422,
        "col": 0,
        "byteIndex": 10579
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Implementation class for MongoFindResultError.",
        "tags": [
          {
            "kind": "internal"
          }
        ]
      },
      "kind": "class",
      "classDef": {
        "isAbstract": false,
        "constructors": [
          {
            "accessibility": null,
            "hasBody": true,
            "name": "constructor",
            "params": [
              {
                "kind": "identifier",
                "name": "params",
                "optional": false,
                "tsType": {
                  "repr": "",
                  "kind": "typeLiteral",
                  "typeLiteral": {
                    "constructors": [],
                    "methods": [],
                    "properties": [
                      {
                        "name": "error",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 432,
                          "col": 4,
                          "byteIndex": 10905
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "MongoError",
                          "kind": "typeRef",
                          "typeRef": {
                            "typeParams": null,
                            "typeName": "MongoError"
                          }
                        },
                        "typeParams": []
                      },
                      {
                        "name": "duration",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 433,
                          "col": 4,
                          "byteIndex": 10928
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "number",
                          "kind": "keyword",
                          "keyword": "number"
                        },
                        "typeParams": []
                      }
                    ],
                    "callSignatures": [],
                    "indexSignatures": []
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 431,
              "col": 2,
              "byteIndex": 10879
            }
          }
        ],
        "properties": [
          {
            "tsType": {
              "repr": "mongo:find",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "mongo:find"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "kind",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 424,
              "col": 2,
              "byteIndex": 10672
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 425,
              "col": 2,
              "byteIndex": 10713
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 426,
              "col": 2,
              "byteIndex": 10751
            }
          },
          {
            "tsType": {
              "repr": "MongoError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoError"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 427,
              "col": 2,
              "byteIndex": 10783
            }
          },
          {
            "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": "docs",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 428,
              "col": 2,
              "byteIndex": 10813
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 429,
              "col": 2,
              "byteIndex": 10849
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": null,
        "implements": [
          {
            "repr": "MongoFindResultError",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": [
                {
                  "repr": "T",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "T"
                  }
                }
              ],
              "typeName": "MongoFindResultError"
            }
          }
        ],
        "typeParams": [
          {
            "name": "T",
            "default": {
              "repr": "Document",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "Document"
              }
            }
          }
        ],
        "superTypeParams": []
      }
    },
    {
      "name": "MongoFindResultFailureImpl",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 444,
        "col": 0,
        "byteIndex": 11101
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Implementation class for MongoFindResultFailure.",
        "tags": [
          {
            "kind": "internal"
          }
        ]
      },
      "kind": "class",
      "classDef": {
        "isAbstract": false,
        "constructors": [
          {
            "accessibility": null,
            "hasBody": true,
            "name": "constructor",
            "params": [
              {
                "kind": "identifier",
                "name": "params",
                "optional": false,
                "tsType": {
                  "repr": "",
                  "kind": "typeLiteral",
                  "typeLiteral": {
                    "constructors": [],
                    "methods": [],
                    "properties": [
                      {
                        "name": "error",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 454,
                          "col": 4,
                          "byteIndex": 11427
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "MongoFailureError",
                          "kind": "typeRef",
                          "typeRef": {
                            "typeParams": null,
                            "typeName": "MongoFailureError"
                          }
                        },
                        "typeParams": []
                      },
                      {
                        "name": "duration",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 455,
                          "col": 4,
                          "byteIndex": 11457
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "number",
                          "kind": "keyword",
                          "keyword": "number"
                        },
                        "typeParams": []
                      }
                    ],
                    "callSignatures": [],
                    "indexSignatures": []
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 453,
              "col": 2,
              "byteIndex": 11401
            }
          }
        ],
        "properties": [
          {
            "tsType": {
              "repr": "mongo:find",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "mongo:find"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "kind",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 446,
              "col": 2,
              "byteIndex": 11198
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 447,
              "col": 2,
              "byteIndex": 11239
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 448,
              "col": 2,
              "byteIndex": 11278
            }
          },
          {
            "tsType": {
              "repr": "MongoFailureError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoFailureError"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 449,
              "col": 2,
              "byteIndex": 11310
            }
          },
          {
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "docs",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 450,
              "col": 2,
              "byteIndex": 11347
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 451,
              "col": 2,
              "byteIndex": 11371
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": null,
        "implements": [
          {
            "repr": "MongoFindResultFailure",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": [
                {
                  "repr": "T",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "T"
                  }
                }
              ],
              "typeName": "MongoFindResultFailure"
            }
          }
        ],
        "typeParams": [
          {
            "name": "T",
            "default": {
              "repr": "Document",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "Document"
              }
            }
          }
        ],
        "superTypeParams": []
      }
    },
    {
      "name": "MongoFindOneResultSuccessImpl",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 470,
        "col": 0,
        "byteIndex": 11839
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Implementation class for MongoFindOneResultSuccess.",
        "tags": [
          {
            "kind": "internal"
          }
        ]
      },
      "kind": "class",
      "classDef": {
        "isAbstract": false,
        "constructors": [
          {
            "accessibility": null,
            "hasBody": true,
            "name": "constructor",
            "params": [
              {
                "kind": "identifier",
                "name": "params",
                "optional": false,
                "tsType": {
                  "repr": "",
                  "kind": "typeLiteral",
                  "typeLiteral": {
                    "constructors": [],
                    "methods": [],
                    "properties": [
                      {
                        "name": "doc",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 480,
                          "col": 4,
                          "byteIndex": 12163
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "",
                          "kind": "union",
                          "union": [
                            {
                              "repr": "T",
                              "kind": "typeRef",
                              "typeRef": {
                                "typeParams": null,
                                "typeName": "T"
                              }
                            },
                            {
                              "repr": "null",
                              "kind": "keyword",
                              "keyword": "null"
                            }
                          ]
                        },
                        "typeParams": []
                      },
                      {
                        "name": "duration",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 481,
                          "col": 4,
                          "byteIndex": 12182
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "number",
                          "kind": "keyword",
                          "keyword": "number"
                        },
                        "typeParams": []
                      }
                    ],
                    "callSignatures": [],
                    "indexSignatures": []
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 479,
              "col": 2,
              "byteIndex": 12137
            }
          }
        ],
        "properties": [
          {
            "tsType": {
              "repr": "mongo:find-one",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "mongo:find-one"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "kind",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 472,
              "col": 2,
              "byteIndex": 11942
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 473,
              "col": 2,
              "byteIndex": 11987
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 474,
              "col": 2,
              "byteIndex": 12025
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 475,
              "col": 2,
              "byteIndex": 12056
            }
          },
          {
            "tsType": {
              "repr": "",
              "kind": "union",
              "union": [
                {
                  "repr": "T",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "T"
                  }
                },
                {
                  "repr": "null",
                  "kind": "keyword",
                  "keyword": "null"
                }
              ]
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "doc",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 476,
              "col": 2,
              "byteIndex": 12081
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 477,
              "col": 2,
              "byteIndex": 12107
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": null,
        "implements": [
          {
            "repr": "MongoFindOneResultSuccess",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": [
                {
                  "repr": "T",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "T"
                  }
                }
              ],
              "typeName": "MongoFindOneResultSuccess"
            }
          }
        ],
        "typeParams": [
          {
            "name": "T",
            "default": {
              "repr": "Document",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "Document"
              }
            }
          }
        ],
        "superTypeParams": []
      }
    },
    {
      "name": "MongoFindOneResultErrorImpl",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 492,
        "col": 0,
        "byteIndex": 12352
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Implementation class for MongoFindOneResultError.",
        "tags": [
          {
            "kind": "internal"
          }
        ]
      },
      "kind": "class",
      "classDef": {
        "isAbstract": false,
        "constructors": [
          {
            "accessibility": null,
            "hasBody": true,
            "name": "constructor",
            "params": [
              {
                "kind": "identifier",
                "name": "params",
                "optional": false,
                "tsType": {
                  "repr": "",
                  "kind": "typeLiteral",
                  "typeLiteral": {
                    "constructors": [],
                    "methods": [],
                    "properties": [
                      {
                        "name": "error",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 502,
                          "col": 4,
                          "byteIndex": 12675
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "MongoError",
                          "kind": "typeRef",
                          "typeRef": {
                            "typeParams": null,
                            "typeName": "MongoError"
                          }
                        },
                        "typeParams": []
                      },
                      {
                        "name": "duration",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 503,
                          "col": 4,
                          "byteIndex": 12698
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "number",
                          "kind": "keyword",
                          "keyword": "number"
                        },
                        "typeParams": []
                      }
                    ],
                    "callSignatures": [],
                    "indexSignatures": []
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 501,
              "col": 2,
              "byteIndex": 12649
            }
          }
        ],
        "properties": [
          {
            "tsType": {
              "repr": "mongo:find-one",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "mongo:find-one"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "kind",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 494,
              "col": 2,
              "byteIndex": 12451
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 495,
              "col": 2,
              "byteIndex": 12496
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 496,
              "col": 2,
              "byteIndex": 12534
            }
          },
          {
            "tsType": {
              "repr": "MongoError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoError"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 497,
              "col": 2,
              "byteIndex": 12566
            }
          },
          {
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "doc",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 498,
              "col": 2,
              "byteIndex": 12596
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 499,
              "col": 2,
              "byteIndex": 12619
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": null,
        "implements": [
          {
            "repr": "MongoFindOneResultError",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": [
                {
                  "repr": "T",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "T"
                  }
                }
              ],
              "typeName": "MongoFindOneResultError"
            }
          }
        ],
        "typeParams": [
          {
            "name": "T",
            "default": {
              "repr": "Document",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "Document"
              }
            }
          }
        ],
        "superTypeParams": []
      }
    },
    {
      "name": "MongoFindOneResultFailureImpl",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 514,
        "col": 0,
        "byteIndex": 12874
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Implementation class for MongoFindOneResultFailure.",
        "tags": [
          {
            "kind": "internal"
          }
        ]
      },
      "kind": "class",
      "classDef": {
        "isAbstract": false,
        "constructors": [
          {
            "accessibility": null,
            "hasBody": true,
            "name": "constructor",
            "params": [
              {
                "kind": "identifier",
                "name": "params",
                "optional": false,
                "tsType": {
                  "repr": "",
                  "kind": "typeLiteral",
                  "typeLiteral": {
                    "constructors": [],
                    "methods": [],
                    "properties": [
                      {
                        "name": "error",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 524,
                          "col": 4,
                          "byteIndex": 13209
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "MongoFailureError",
                          "kind": "typeRef",
                          "typeRef": {
                            "typeParams": null,
                            "typeName": "MongoFailureError"
                          }
                        },
                        "typeParams": []
                      },
                      {
                        "name": "duration",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 525,
                          "col": 4,
                          "byteIndex": 13239
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "number",
                          "kind": "keyword",
                          "keyword": "number"
                        },
                        "typeParams": []
                      }
                    ],
                    "callSignatures": [],
                    "indexSignatures": []
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 523,
              "col": 2,
              "byteIndex": 13183
            }
          }
        ],
        "properties": [
          {
            "tsType": {
              "repr": "mongo:find-one",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "mongo:find-one"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "kind",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 516,
              "col": 2,
              "byteIndex": 12977
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 517,
              "col": 2,
              "byteIndex": 13022
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 518,
              "col": 2,
              "byteIndex": 13061
            }
          },
          {
            "tsType": {
              "repr": "MongoFailureError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoFailureError"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 519,
              "col": 2,
              "byteIndex": 13093
            }
          },
          {
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "doc",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 520,
              "col": 2,
              "byteIndex": 13130
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 521,
              "col": 2,
              "byteIndex": 13153
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": null,
        "implements": [
          {
            "repr": "MongoFindOneResultFailure",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": [
                {
                  "repr": "T",
                  "kind": "typeRef",
                  "typeRef": {
                    "typeParams": null,
                    "typeName": "T"
                  }
                }
              ],
              "typeName": "MongoFindOneResultFailure"
            }
          }
        ],
        "typeParams": [
          {
            "name": "T",
            "default": {
              "repr": "Document",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "Document"
              }
            }
          }
        ],
        "superTypeParams": []
      }
    },
    {
      "name": "MongoInsertOneResultSuccessImpl",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 540,
        "col": 0,
        "byteIndex": 13625
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Implementation class for MongoInsertOneResultSuccess.",
        "tags": [
          {
            "kind": "internal"
          }
        ]
      },
      "kind": "class",
      "classDef": {
        "isAbstract": false,
        "constructors": [
          {
            "accessibility": null,
            "hasBody": true,
            "name": "constructor",
            "params": [
              {
                "kind": "identifier",
                "name": "params",
                "optional": false,
                "tsType": {
                  "repr": "",
                  "kind": "typeLiteral",
                  "typeLiteral": {
                    "constructors": [],
                    "methods": [],
                    "properties": [
                      {
                        "name": "insertedId",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 550,
                          "col": 4,
                          "byteIndex": 13943
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "string",
                          "kind": "keyword",
                          "keyword": "string"
                        },
                        "typeParams": []
                      },
                      {
                        "name": "duration",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 551,
                          "col": 4,
                          "byteIndex": 13967
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "number",
                          "kind": "keyword",
                          "keyword": "number"
                        },
                        "typeParams": []
                      }
                    ],
                    "callSignatures": [],
                    "indexSignatures": []
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 549,
              "col": 2,
              "byteIndex": 13917
            }
          }
        ],
        "properties": [
          {
            "tsType": {
              "repr": "mongo:insert-one",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "mongo:insert-one"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "kind",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 542,
              "col": 2,
              "byteIndex": 13715
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 543,
              "col": 2,
              "byteIndex": 13762
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 544,
              "col": 2,
              "byteIndex": 13800
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 545,
              "col": 2,
              "byteIndex": 13831
            }
          },
          {
            "tsType": {
              "repr": "string",
              "kind": "keyword",
              "keyword": "string"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "insertedId",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 546,
              "col": 2,
              "byteIndex": 13856
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 547,
              "col": 2,
              "byteIndex": 13887
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": null,
        "implements": [
          {
            "repr": "MongoInsertOneResultSuccess",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "MongoInsertOneResultSuccess"
            }
          }
        ],
        "typeParams": [],
        "superTypeParams": []
      }
    },
    {
      "name": "MongoInsertOneResultErrorImpl",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 562,
        "col": 0,
        "byteIndex": 14153
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Implementation class for MongoInsertOneResultError.",
        "tags": [
          {
            "kind": "internal"
          }
        ]
      },
      "kind": "class",
      "classDef": {
        "isAbstract": false,
        "constructors": [
          {
            "accessibility": null,
            "hasBody": true,
            "name": "constructor",
            "params": [
              {
                "kind": "identifier",
                "name": "params",
                "optional": false,
                "tsType": {
                  "repr": "",
                  "kind": "typeLiteral",
                  "typeLiteral": {
                    "constructors": [],
                    "methods": [],
                    "properties": [
                      {
                        "name": "error",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 572,
                          "col": 4,
                          "byteIndex": 14472
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "MongoError",
                          "kind": "typeRef",
                          "typeRef": {
                            "typeParams": null,
                            "typeName": "MongoError"
                          }
                        },
                        "typeParams": []
                      },
                      {
                        "name": "duration",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 573,
                          "col": 4,
                          "byteIndex": 14495
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "number",
                          "kind": "keyword",
                          "keyword": "number"
                        },
                        "typeParams": []
                      }
                    ],
                    "callSignatures": [],
                    "indexSignatures": []
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 571,
              "col": 2,
              "byteIndex": 14446
            }
          }
        ],
        "properties": [
          {
            "tsType": {
              "repr": "mongo:insert-one",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "mongo:insert-one"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "kind",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 564,
              "col": 2,
              "byteIndex": 14239
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 565,
              "col": 2,
              "byteIndex": 14286
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 566,
              "col": 2,
              "byteIndex": 14324
            }
          },
          {
            "tsType": {
              "repr": "MongoError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoError"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 567,
              "col": 2,
              "byteIndex": 14356
            }
          },
          {
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "insertedId",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 568,
              "col": 2,
              "byteIndex": 14386
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 569,
              "col": 2,
              "byteIndex": 14416
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": null,
        "implements": [
          {
            "repr": "MongoInsertOneResultError",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "MongoInsertOneResultError"
            }
          }
        ],
        "typeParams": [],
        "superTypeParams": []
      }
    },
    {
      "name": "MongoInsertOneResultFailureImpl",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 584,
        "col": 0,
        "byteIndex": 14673
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Implementation class for MongoInsertOneResultFailure.",
        "tags": [
          {
            "kind": "internal"
          }
        ]
      },
      "kind": "class",
      "classDef": {
        "isAbstract": false,
        "constructors": [
          {
            "accessibility": null,
            "hasBody": true,
            "name": "constructor",
            "params": [
              {
                "kind": "identifier",
                "name": "params",
                "optional": false,
                "tsType": {
                  "repr": "",
                  "kind": "typeLiteral",
                  "typeLiteral": {
                    "constructors": [],
                    "methods": [],
                    "properties": [
                      {
                        "name": "error",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 594,
                          "col": 4,
                          "byteIndex": 15004
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "MongoFailureError",
                          "kind": "typeRef",
                          "typeRef": {
                            "typeParams": null,
                            "typeName": "MongoFailureError"
                          }
                        },
                        "typeParams": []
                      },
                      {
                        "name": "duration",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 595,
                          "col": 4,
                          "byteIndex": 15034
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "number",
                          "kind": "keyword",
                          "keyword": "number"
                        },
                        "typeParams": []
                      }
                    ],
                    "callSignatures": [],
                    "indexSignatures": []
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 593,
              "col": 2,
              "byteIndex": 14978
            }
          }
        ],
        "properties": [
          {
            "tsType": {
              "repr": "mongo:insert-one",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "mongo:insert-one"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "kind",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 586,
              "col": 2,
              "byteIndex": 14763
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 587,
              "col": 2,
              "byteIndex": 14810
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 588,
              "col": 2,
              "byteIndex": 14849
            }
          },
          {
            "tsType": {
              "repr": "MongoFailureError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoFailureError"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 589,
              "col": 2,
              "byteIndex": 14881
            }
          },
          {
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "insertedId",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 590,
              "col": 2,
              "byteIndex": 14918
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 591,
              "col": 2,
              "byteIndex": 14948
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": null,
        "implements": [
          {
            "repr": "MongoInsertOneResultFailure",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "MongoInsertOneResultFailure"
            }
          }
        ],
        "typeParams": [],
        "superTypeParams": []
      }
    },
    {
      "name": "MongoInsertManyResultSuccessImpl",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 610,
        "col": 0,
        "byteIndex": 15422
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Implementation class for MongoInsertManyResultSuccess.",
        "tags": [
          {
            "kind": "internal"
          }
        ]
      },
      "kind": "class",
      "classDef": {
        "isAbstract": false,
        "constructors": [
          {
            "accessibility": null,
            "hasBody": true,
            "name": "constructor",
            "params": [
              {
                "kind": "identifier",
                "name": "params",
                "optional": false,
                "tsType": {
                  "repr": "",
                  "kind": "typeLiteral",
                  "typeLiteral": {
                    "constructors": [],
                    "methods": [],
                    "properties": [
                      {
                        "name": "insertedIds",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 621,
                          "col": 4,
                          "byteIndex": 15789
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "",
                          "kind": "typeOperator",
                          "typeOperator": {
                            "operator": "readonly",
                            "tsType": {
                              "repr": "",
                              "kind": "array",
                              "array": {
                                "repr": "string",
                                "kind": "keyword",
                                "keyword": "string"
                              }
                            }
                          }
                        },
                        "typeParams": []
                      },
                      {
                        "name": "insertedCount",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 622,
                          "col": 4,
                          "byteIndex": 15825
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "number",
                          "kind": "keyword",
                          "keyword": "number"
                        },
                        "typeParams": []
                      },
                      {
                        "name": "duration",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 623,
                          "col": 4,
                          "byteIndex": 15852
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "number",
                          "kind": "keyword",
                          "keyword": "number"
                        },
                        "typeParams": []
                      }
                    ],
                    "callSignatures": [],
                    "indexSignatures": []
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 620,
              "col": 2,
              "byteIndex": 15763
            }
          }
        ],
        "properties": [
          {
            "tsType": {
              "repr": "mongo:insert-many",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "mongo:insert-many"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "kind",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 612,
              "col": 2,
              "byteIndex": 15514
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 613,
              "col": 2,
              "byteIndex": 15562
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 614,
              "col": 2,
              "byteIndex": 15600
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 615,
              "col": 2,
              "byteIndex": 15631
            }
          },
          {
            "tsType": {
              "repr": "",
              "kind": "typeOperator",
              "typeOperator": {
                "operator": "readonly",
                "tsType": {
                  "repr": "",
                  "kind": "array",
                  "array": {
                    "repr": "string",
                    "kind": "keyword",
                    "keyword": "string"
                  }
                }
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "insertedIds",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 616,
              "col": 2,
              "byteIndex": 15656
            }
          },
          {
            "tsType": {
              "repr": "number",
              "kind": "keyword",
              "keyword": "number"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "insertedCount",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 617,
              "col": 2,
              "byteIndex": 15699
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 618,
              "col": 2,
              "byteIndex": 15733
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": null,
        "implements": [
          {
            "repr": "MongoInsertManyResultSuccess",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "MongoInsertManyResultSuccess"
            }
          }
        ],
        "typeParams": [],
        "superTypeParams": []
      }
    },
    {
      "name": "MongoInsertManyResultErrorImpl",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 635,
        "col": 0,
        "byteIndex": 16088
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Implementation class for MongoInsertManyResultError.",
        "tags": [
          {
            "kind": "internal"
          }
        ]
      },
      "kind": "class",
      "classDef": {
        "isAbstract": false,
        "constructors": [
          {
            "accessibility": null,
            "hasBody": true,
            "name": "constructor",
            "params": [
              {
                "kind": "identifier",
                "name": "params",
                "optional": false,
                "tsType": {
                  "repr": "",
                  "kind": "typeLiteral",
                  "typeLiteral": {
                    "constructors": [],
                    "methods": [],
                    "properties": [
                      {
                        "name": "error",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 646,
                          "col": 4,
                          "byteIndex": 16444
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "MongoError",
                          "kind": "typeRef",
                          "typeRef": {
                            "typeParams": null,
                            "typeName": "MongoError"
                          }
                        },
                        "typeParams": []
                      },
                      {
                        "name": "duration",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 647,
                          "col": 4,
                          "byteIndex": 16467
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "number",
                          "kind": "keyword",
                          "keyword": "number"
                        },
                        "typeParams": []
                      }
                    ],
                    "callSignatures": [],
                    "indexSignatures": []
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 645,
              "col": 2,
              "byteIndex": 16418
            }
          }
        ],
        "properties": [
          {
            "tsType": {
              "repr": "mongo:insert-many",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "mongo:insert-many"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "kind",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 637,
              "col": 2,
              "byteIndex": 16176
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 638,
              "col": 2,
              "byteIndex": 16224
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 639,
              "col": 2,
              "byteIndex": 16262
            }
          },
          {
            "tsType": {
              "repr": "MongoError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoError"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 640,
              "col": 2,
              "byteIndex": 16294
            }
          },
          {
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "insertedIds",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 641,
              "col": 2,
              "byteIndex": 16324
            }
          },
          {
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "insertedCount",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 642,
              "col": 2,
              "byteIndex": 16355
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 643,
              "col": 2,
              "byteIndex": 16388
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": null,
        "implements": [
          {
            "repr": "MongoInsertManyResultError",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "MongoInsertManyResultError"
            }
          }
        ],
        "typeParams": [],
        "superTypeParams": []
      }
    },
    {
      "name": "MongoInsertManyResultFailureImpl",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 658,
        "col": 0,
        "byteIndex": 16646
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Implementation class for MongoInsertManyResultFailure.",
        "tags": [
          {
            "kind": "internal"
          }
        ]
      },
      "kind": "class",
      "classDef": {
        "isAbstract": false,
        "constructors": [
          {
            "accessibility": null,
            "hasBody": true,
            "name": "constructor",
            "params": [
              {
                "kind": "identifier",
                "name": "params",
                "optional": false,
                "tsType": {
                  "repr": "",
                  "kind": "typeLiteral",
                  "typeLiteral": {
                    "constructors": [],
                    "methods": [],
                    "properties": [
                      {
                        "name": "error",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 669,
                          "col": 4,
                          "byteIndex": 17014
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "MongoFailureError",
                          "kind": "typeRef",
                          "typeRef": {
                            "typeParams": null,
                            "typeName": "MongoFailureError"
                          }
                        },
                        "typeParams": []
                      },
                      {
                        "name": "duration",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 670,
                          "col": 4,
                          "byteIndex": 17044
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "number",
                          "kind": "keyword",
                          "keyword": "number"
                        },
                        "typeParams": []
                      }
                    ],
                    "callSignatures": [],
                    "indexSignatures": []
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 668,
              "col": 2,
              "byteIndex": 16988
            }
          }
        ],
        "properties": [
          {
            "tsType": {
              "repr": "mongo:insert-many",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "mongo:insert-many"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "kind",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 660,
              "col": 2,
              "byteIndex": 16738
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 661,
              "col": 2,
              "byteIndex": 16786
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 662,
              "col": 2,
              "byteIndex": 16825
            }
          },
          {
            "tsType": {
              "repr": "MongoFailureError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoFailureError"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 663,
              "col": 2,
              "byteIndex": 16857
            }
          },
          {
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "insertedIds",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 664,
              "col": 2,
              "byteIndex": 16894
            }
          },
          {
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "insertedCount",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 665,
              "col": 2,
              "byteIndex": 16925
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 666,
              "col": 2,
              "byteIndex": 16958
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": null,
        "implements": [
          {
            "repr": "MongoInsertManyResultFailure",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "MongoInsertManyResultFailure"
            }
          }
        ],
        "typeParams": [],
        "superTypeParams": []
      }
    },
    {
      "name": "MongoUpdateResultSuccessImpl",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 685,
        "col": 0,
        "byteIndex": 17424
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Implementation class for MongoUpdateResultSuccess.",
        "tags": [
          {
            "kind": "internal"
          }
        ]
      },
      "kind": "class",
      "classDef": {
        "isAbstract": false,
        "constructors": [
          {
            "accessibility": null,
            "hasBody": true,
            "name": "constructor",
            "params": [
              {
                "kind": "identifier",
                "name": "params",
                "optional": false,
                "tsType": {
                  "repr": "",
                  "kind": "typeLiteral",
                  "typeLiteral": {
                    "constructors": [],
                    "methods": [],
                    "properties": [
                      {
                        "name": "matchedCount",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 696,
                          "col": 4,
                          "byteIndex": 17804
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "number",
                          "kind": "keyword",
                          "keyword": "number"
                        },
                        "typeParams": []
                      },
                      {
                        "name": "modifiedCount",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 697,
                          "col": 4,
                          "byteIndex": 17830
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "number",
                          "kind": "keyword",
                          "keyword": "number"
                        },
                        "typeParams": []
                      },
                      {
                        "name": "upsertedId",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 698,
                          "col": 4,
                          "byteIndex": 17857
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "",
                          "kind": "union",
                          "union": [
                            {
                              "repr": "string",
                              "kind": "keyword",
                              "keyword": "string"
                            },
                            {
                              "repr": "null",
                              "kind": "keyword",
                              "keyword": "null"
                            }
                          ]
                        },
                        "typeParams": []
                      },
                      {
                        "name": "duration",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 699,
                          "col": 4,
                          "byteIndex": 17888
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "number",
                          "kind": "keyword",
                          "keyword": "number"
                        },
                        "typeParams": []
                      }
                    ],
                    "callSignatures": [],
                    "indexSignatures": []
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 695,
              "col": 2,
              "byteIndex": 17778
            }
          }
        ],
        "properties": [
          {
            "tsType": {
              "repr": "mongo:update",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "mongo:update"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "kind",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 686,
              "col": 2,
              "byteIndex": 17506
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 687,
              "col": 2,
              "byteIndex": 17549
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 688,
              "col": 2,
              "byteIndex": 17587
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 689,
              "col": 2,
              "byteIndex": 17618
            }
          },
          {
            "tsType": {
              "repr": "number",
              "kind": "keyword",
              "keyword": "number"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "matchedCount",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 690,
              "col": 2,
              "byteIndex": 17643
            }
          },
          {
            "tsType": {
              "repr": "number",
              "kind": "keyword",
              "keyword": "number"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "modifiedCount",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 691,
              "col": 2,
              "byteIndex": 17676
            }
          },
          {
            "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": "upsertedId",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 692,
              "col": 2,
              "byteIndex": 17710
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 693,
              "col": 2,
              "byteIndex": 17748
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": null,
        "implements": [
          {
            "repr": "MongoUpdateResultSuccess",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "MongoUpdateResultSuccess"
            }
          }
        ],
        "typeParams": [],
        "superTypeParams": []
      }
    },
    {
      "name": "MongoUpdateResultErrorImpl",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 712,
        "col": 0,
        "byteIndex": 18163
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Implementation class for MongoUpdateResultError.",
        "tags": [
          {
            "kind": "internal"
          }
        ]
      },
      "kind": "class",
      "classDef": {
        "isAbstract": false,
        "constructors": [
          {
            "accessibility": null,
            "hasBody": true,
            "name": "constructor",
            "params": [
              {
                "kind": "identifier",
                "name": "params",
                "optional": false,
                "tsType": {
                  "repr": "",
                  "kind": "typeLiteral",
                  "typeLiteral": {
                    "constructors": [],
                    "methods": [],
                    "properties": [
                      {
                        "name": "error",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 723,
                          "col": 4,
                          "byteIndex": 18535
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "MongoError",
                          "kind": "typeRef",
                          "typeRef": {
                            "typeParams": null,
                            "typeName": "MongoError"
                          }
                        },
                        "typeParams": []
                      },
                      {
                        "name": "duration",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 724,
                          "col": 4,
                          "byteIndex": 18558
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "number",
                          "kind": "keyword",
                          "keyword": "number"
                        },
                        "typeParams": []
                      }
                    ],
                    "callSignatures": [],
                    "indexSignatures": []
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 722,
              "col": 2,
              "byteIndex": 18509
            }
          }
        ],
        "properties": [
          {
            "tsType": {
              "repr": "mongo:update",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "mongo:update"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "kind",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 713,
              "col": 2,
              "byteIndex": 18241
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 714,
              "col": 2,
              "byteIndex": 18284
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 715,
              "col": 2,
              "byteIndex": 18322
            }
          },
          {
            "tsType": {
              "repr": "MongoError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoError"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 716,
              "col": 2,
              "byteIndex": 18354
            }
          },
          {
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "matchedCount",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 717,
              "col": 2,
              "byteIndex": 18384
            }
          },
          {
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "modifiedCount",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 718,
              "col": 2,
              "byteIndex": 18416
            }
          },
          {
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "upsertedId",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 719,
              "col": 2,
              "byteIndex": 18449
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 720,
              "col": 2,
              "byteIndex": 18479
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": null,
        "implements": [
          {
            "repr": "MongoUpdateResultError",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "MongoUpdateResultError"
            }
          }
        ],
        "typeParams": [],
        "superTypeParams": []
      }
    },
    {
      "name": "MongoUpdateResultFailureImpl",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 735,
        "col": 0,
        "byteIndex": 18733
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Implementation class for MongoUpdateResultFailure.",
        "tags": [
          {
            "kind": "internal"
          }
        ]
      },
      "kind": "class",
      "classDef": {
        "isAbstract": false,
        "constructors": [
          {
            "accessibility": null,
            "hasBody": true,
            "name": "constructor",
            "params": [
              {
                "kind": "identifier",
                "name": "params",
                "optional": false,
                "tsType": {
                  "repr": "",
                  "kind": "typeLiteral",
                  "typeLiteral": {
                    "constructors": [],
                    "methods": [],
                    "properties": [
                      {
                        "name": "error",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 746,
                          "col": 4,
                          "byteIndex": 19117
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "MongoFailureError",
                          "kind": "typeRef",
                          "typeRef": {
                            "typeParams": null,
                            "typeName": "MongoFailureError"
                          }
                        },
                        "typeParams": []
                      },
                      {
                        "name": "duration",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 747,
                          "col": 4,
                          "byteIndex": 19147
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "number",
                          "kind": "keyword",
                          "keyword": "number"
                        },
                        "typeParams": []
                      }
                    ],
                    "callSignatures": [],
                    "indexSignatures": []
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 745,
              "col": 2,
              "byteIndex": 19091
            }
          }
        ],
        "properties": [
          {
            "tsType": {
              "repr": "mongo:update",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "mongo:update"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "kind",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 736,
              "col": 2,
              "byteIndex": 18815
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 737,
              "col": 2,
              "byteIndex": 18858
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 738,
              "col": 2,
              "byteIndex": 18897
            }
          },
          {
            "tsType": {
              "repr": "MongoFailureError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoFailureError"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 739,
              "col": 2,
              "byteIndex": 18929
            }
          },
          {
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "matchedCount",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 740,
              "col": 2,
              "byteIndex": 18966
            }
          },
          {
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "modifiedCount",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 741,
              "col": 2,
              "byteIndex": 18998
            }
          },
          {
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "upsertedId",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 742,
              "col": 2,
              "byteIndex": 19031
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 743,
              "col": 2,
              "byteIndex": 19061
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": null,
        "implements": [
          {
            "repr": "MongoUpdateResultFailure",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "MongoUpdateResultFailure"
            }
          }
        ],
        "typeParams": [],
        "superTypeParams": []
      }
    },
    {
      "name": "MongoDeleteResultSuccessImpl",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 762,
        "col": 0,
        "byteIndex": 19527
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Implementation class for MongoDeleteResultSuccess.",
        "tags": [
          {
            "kind": "internal"
          }
        ]
      },
      "kind": "class",
      "classDef": {
        "isAbstract": false,
        "constructors": [
          {
            "accessibility": null,
            "hasBody": true,
            "name": "constructor",
            "params": [
              {
                "kind": "identifier",
                "name": "params",
                "optional": false,
                "tsType": {
                  "repr": "",
                  "kind": "typeLiteral",
                  "typeLiteral": {
                    "constructors": [],
                    "methods": [],
                    "properties": [
                      {
                        "name": "deletedCount",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 771,
                          "col": 4,
                          "byteIndex": 19835
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "number",
                          "kind": "keyword",
                          "keyword": "number"
                        },
                        "typeParams": []
                      },
                      {
                        "name": "duration",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 772,
                          "col": 4,
                          "byteIndex": 19861
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "number",
                          "kind": "keyword",
                          "keyword": "number"
                        },
                        "typeParams": []
                      }
                    ],
                    "callSignatures": [],
                    "indexSignatures": []
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 770,
              "col": 2,
              "byteIndex": 19809
            }
          }
        ],
        "properties": [
          {
            "tsType": {
              "repr": "mongo:delete",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "mongo:delete"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "kind",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 763,
              "col": 2,
              "byteIndex": 19609
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 764,
              "col": 2,
              "byteIndex": 19652
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 765,
              "col": 2,
              "byteIndex": 19690
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 766,
              "col": 2,
              "byteIndex": 19721
            }
          },
          {
            "tsType": {
              "repr": "number",
              "kind": "keyword",
              "keyword": "number"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "deletedCount",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 767,
              "col": 2,
              "byteIndex": 19746
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 768,
              "col": 2,
              "byteIndex": 19779
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": null,
        "implements": [
          {
            "repr": "MongoDeleteResultSuccess",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "MongoDeleteResultSuccess"
            }
          }
        ],
        "typeParams": [],
        "superTypeParams": []
      }
    },
    {
      "name": "MongoDeleteResultErrorImpl",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 783,
        "col": 0,
        "byteIndex": 20048
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Implementation class for MongoDeleteResultError.",
        "tags": [
          {
            "kind": "internal"
          }
        ]
      },
      "kind": "class",
      "classDef": {
        "isAbstract": false,
        "constructors": [
          {
            "accessibility": null,
            "hasBody": true,
            "name": "constructor",
            "params": [
              {
                "kind": "identifier",
                "name": "params",
                "optional": false,
                "tsType": {
                  "repr": "",
                  "kind": "typeLiteral",
                  "typeLiteral": {
                    "constructors": [],
                    "methods": [],
                    "properties": [
                      {
                        "name": "error",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 792,
                          "col": 4,
                          "byteIndex": 20357
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "MongoError",
                          "kind": "typeRef",
                          "typeRef": {
                            "typeParams": null,
                            "typeName": "MongoError"
                          }
                        },
                        "typeParams": []
                      },
                      {
                        "name": "duration",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 793,
                          "col": 4,
                          "byteIndex": 20380
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "number",
                          "kind": "keyword",
                          "keyword": "number"
                        },
                        "typeParams": []
                      }
                    ],
                    "callSignatures": [],
                    "indexSignatures": []
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 791,
              "col": 2,
              "byteIndex": 20331
            }
          }
        ],
        "properties": [
          {
            "tsType": {
              "repr": "mongo:delete",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "mongo:delete"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "kind",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 784,
              "col": 2,
              "byteIndex": 20126
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 785,
              "col": 2,
              "byteIndex": 20169
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 786,
              "col": 2,
              "byteIndex": 20207
            }
          },
          {
            "tsType": {
              "repr": "MongoError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoError"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 787,
              "col": 2,
              "byteIndex": 20239
            }
          },
          {
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "deletedCount",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 788,
              "col": 2,
              "byteIndex": 20269
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 789,
              "col": 2,
              "byteIndex": 20301
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": null,
        "implements": [
          {
            "repr": "MongoDeleteResultError",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "MongoDeleteResultError"
            }
          }
        ],
        "typeParams": [],
        "superTypeParams": []
      }
    },
    {
      "name": "MongoDeleteResultFailureImpl",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 804,
        "col": 0,
        "byteIndex": 20555
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Implementation class for MongoDeleteResultFailure.",
        "tags": [
          {
            "kind": "internal"
          }
        ]
      },
      "kind": "class",
      "classDef": {
        "isAbstract": false,
        "constructors": [
          {
            "accessibility": null,
            "hasBody": true,
            "name": "constructor",
            "params": [
              {
                "kind": "identifier",
                "name": "params",
                "optional": false,
                "tsType": {
                  "repr": "",
                  "kind": "typeLiteral",
                  "typeLiteral": {
                    "constructors": [],
                    "methods": [],
                    "properties": [
                      {
                        "name": "error",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 813,
                          "col": 4,
                          "byteIndex": 20876
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "MongoFailureError",
                          "kind": "typeRef",
                          "typeRef": {
                            "typeParams": null,
                            "typeName": "MongoFailureError"
                          }
                        },
                        "typeParams": []
                      },
                      {
                        "name": "duration",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 814,
                          "col": 4,
                          "byteIndex": 20906
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "number",
                          "kind": "keyword",
                          "keyword": "number"
                        },
                        "typeParams": []
                      }
                    ],
                    "callSignatures": [],
                    "indexSignatures": []
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 812,
              "col": 2,
              "byteIndex": 20850
            }
          }
        ],
        "properties": [
          {
            "tsType": {
              "repr": "mongo:delete",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "mongo:delete"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "kind",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 805,
              "col": 2,
              "byteIndex": 20637
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 806,
              "col": 2,
              "byteIndex": 20680
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 807,
              "col": 2,
              "byteIndex": 20719
            }
          },
          {
            "tsType": {
              "repr": "MongoFailureError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoFailureError"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 808,
              "col": 2,
              "byteIndex": 20751
            }
          },
          {
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "deletedCount",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 809,
              "col": 2,
              "byteIndex": 20788
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 810,
              "col": 2,
              "byteIndex": 20820
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": null,
        "implements": [
          {
            "repr": "MongoDeleteResultFailure",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "MongoDeleteResultFailure"
            }
          }
        ],
        "typeParams": [],
        "superTypeParams": []
      }
    },
    {
      "name": "MongoCountResultSuccessImpl",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 829,
        "col": 0,
        "byteIndex": 21284
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Implementation class for MongoCountResultSuccess.",
        "tags": [
          {
            "kind": "internal"
          }
        ]
      },
      "kind": "class",
      "classDef": {
        "isAbstract": false,
        "constructors": [
          {
            "accessibility": null,
            "hasBody": true,
            "name": "constructor",
            "params": [
              {
                "kind": "identifier",
                "name": "params",
                "optional": false,
                "tsType": {
                  "repr": "",
                  "kind": "typeLiteral",
                  "typeLiteral": {
                    "constructors": [],
                    "methods": [],
                    "properties": [
                      {
                        "name": "count",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 838,
                          "col": 4,
                          "byteIndex": 21582
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "number",
                          "kind": "keyword",
                          "keyword": "number"
                        },
                        "typeParams": []
                      },
                      {
                        "name": "duration",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 839,
                          "col": 4,
                          "byteIndex": 21601
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "number",
                          "kind": "keyword",
                          "keyword": "number"
                        },
                        "typeParams": []
                      }
                    ],
                    "callSignatures": [],
                    "indexSignatures": []
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 837,
              "col": 2,
              "byteIndex": 21556
            }
          }
        ],
        "properties": [
          {
            "tsType": {
              "repr": "mongo:count",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "mongo:count"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "kind",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 830,
              "col": 2,
              "byteIndex": 21364
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 831,
              "col": 2,
              "byteIndex": 21406
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 832,
              "col": 2,
              "byteIndex": 21444
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 833,
              "col": 2,
              "byteIndex": 21475
            }
          },
          {
            "tsType": {
              "repr": "number",
              "kind": "keyword",
              "keyword": "number"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "count",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 834,
              "col": 2,
              "byteIndex": 21500
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 835,
              "col": 2,
              "byteIndex": 21526
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": null,
        "implements": [
          {
            "repr": "MongoCountResultSuccess",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "MongoCountResultSuccess"
            }
          }
        ],
        "typeParams": [],
        "superTypeParams": []
      }
    },
    {
      "name": "MongoCountResultErrorImpl",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 850,
        "col": 0,
        "byteIndex": 21773
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Implementation class for MongoCountResultError.",
        "tags": [
          {
            "kind": "internal"
          }
        ]
      },
      "kind": "class",
      "classDef": {
        "isAbstract": false,
        "constructors": [
          {
            "accessibility": null,
            "hasBody": true,
            "name": "constructor",
            "params": [
              {
                "kind": "identifier",
                "name": "params",
                "optional": false,
                "tsType": {
                  "repr": "",
                  "kind": "typeLiteral",
                  "typeLiteral": {
                    "constructors": [],
                    "methods": [],
                    "properties": [
                      {
                        "name": "error",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 859,
                          "col": 4,
                          "byteIndex": 22072
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "MongoError",
                          "kind": "typeRef",
                          "typeRef": {
                            "typeParams": null,
                            "typeName": "MongoError"
                          }
                        },
                        "typeParams": []
                      },
                      {
                        "name": "duration",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 860,
                          "col": 4,
                          "byteIndex": 22095
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "number",
                          "kind": "keyword",
                          "keyword": "number"
                        },
                        "typeParams": []
                      }
                    ],
                    "callSignatures": [],
                    "indexSignatures": []
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 858,
              "col": 2,
              "byteIndex": 22046
            }
          }
        ],
        "properties": [
          {
            "tsType": {
              "repr": "mongo:count",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "mongo:count"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "kind",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 851,
              "col": 2,
              "byteIndex": 21849
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 852,
              "col": 2,
              "byteIndex": 21891
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 853,
              "col": 2,
              "byteIndex": 21929
            }
          },
          {
            "tsType": {
              "repr": "MongoError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoError"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 854,
              "col": 2,
              "byteIndex": 21961
            }
          },
          {
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "count",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 855,
              "col": 2,
              "byteIndex": 21991
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 856,
              "col": 2,
              "byteIndex": 22016
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": null,
        "implements": [
          {
            "repr": "MongoCountResultError",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "MongoCountResultError"
            }
          }
        ],
        "typeParams": [],
        "superTypeParams": []
      }
    },
    {
      "name": "MongoCountResultFailureImpl",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
        "line": 871,
        "col": 0,
        "byteIndex": 22269
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Implementation class for MongoCountResultFailure.",
        "tags": [
          {
            "kind": "internal"
          }
        ]
      },
      "kind": "class",
      "classDef": {
        "isAbstract": false,
        "constructors": [
          {
            "accessibility": null,
            "hasBody": true,
            "name": "constructor",
            "params": [
              {
                "kind": "identifier",
                "name": "params",
                "optional": false,
                "tsType": {
                  "repr": "",
                  "kind": "typeLiteral",
                  "typeLiteral": {
                    "constructors": [],
                    "methods": [],
                    "properties": [
                      {
                        "name": "error",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 880,
                          "col": 4,
                          "byteIndex": 22580
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "MongoFailureError",
                          "kind": "typeRef",
                          "typeRef": {
                            "typeParams": null,
                            "typeName": "MongoFailureError"
                          }
                        },
                        "typeParams": []
                      },
                      {
                        "name": "duration",
                        "location": {
                          "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
                          "line": 881,
                          "col": 4,
                          "byteIndex": 22610
                        },
                        "params": [],
                        "computed": false,
                        "optional": false,
                        "tsType": {
                          "repr": "number",
                          "kind": "keyword",
                          "keyword": "number"
                        },
                        "typeParams": []
                      }
                    ],
                    "callSignatures": [],
                    "indexSignatures": []
                  }
                }
              }
            ],
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 879,
              "col": 2,
              "byteIndex": 22554
            }
          }
        ],
        "properties": [
          {
            "tsType": {
              "repr": "mongo:count",
              "kind": "literal",
              "literal": {
                "kind": "string",
                "string": "mongo:count"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "kind",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 872,
              "col": 2,
              "byteIndex": 22349
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 873,
              "col": 2,
              "byteIndex": 22391
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 874,
              "col": 2,
              "byteIndex": 22430
            }
          },
          {
            "tsType": {
              "repr": "MongoFailureError",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoFailureError"
              }
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "error",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 875,
              "col": 2,
              "byteIndex": 22462
            }
          },
          {
            "tsType": {
              "repr": "null",
              "kind": "keyword",
              "keyword": "null"
            },
            "readonly": true,
            "accessibility": null,
            "optional": false,
            "isAbstract": false,
            "isStatic": false,
            "name": "count",
            "location": {
              "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/result.ts",
              "line": 876,
              "col": 2,
              "byteIndex": 22499
            }
          },
          {
            "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-mongodb/0.6.0/result.ts",
              "line": 877,
              "col": 2,
              "byteIndex": 22524
            }
          }
        ],
        "indexSignatures": [],
        "methods": [],
        "extends": null,
        "implements": [
          {
            "repr": "MongoCountResultFailure",
            "kind": "typeRef",
            "typeRef": {
              "typeParams": null,
              "typeName": "MongoCountResultFailure"
            }
          }
        ],
        "typeParams": [],
        "superTypeParams": []
      }
    },
    {
      "name": "createMongoClient",
      "isDefault": false,
      "location": {
        "filename": "https://jsr.io/@probitas/client-mongodb/0.6.0/client.ts",
        "line": 481,
        "col": 0,
        "byteIndex": 13157
      },
      "declarationKind": "export",
      "jsDoc": {
        "doc": "Create a new MongoDB client instance.\n\nThe client provides typed collection access, aggregation pipelines,\ntransaction support, and comprehensive CRUD operations.\n",
        "tags": [
          {
            "kind": "param",
            "name": "config",
            "doc": "- MongoDB client configuration"
          },
          {
            "kind": "return",
            "doc": "A promise resolving to a new MongoDB client instance\n"
          },
          {
            "kind": "example",
            "doc": "Basic usage with connection string\n```ts\nimport { createMongoClient } from \"@probitas/client-mongodb\";\n\nconst mongo = await createMongoClient({\n  url: \"mongodb://localhost:27017\",\n  database: \"testdb\",\n});\n\nconst users = mongo.collection<{ name: string; age: number }>(\"users\");\nconst result = await users.find({ age: { $gte: 18 } });\n\nif (result.ok) {\n  console.log(result.docs[0]);\n} else {\n  console.error(\"Error:\", result.error.message);\n}\n\nawait mongo.close();\n```\n"
          },
          {
            "kind": "example",
            "doc": "Using connection config object\n```ts\nimport { createMongoClient } from \"@probitas/client-mongodb\";\n\nconst mongo = await createMongoClient({\n  url: {\n    host: \"localhost\",\n    port: 27017,\n    username: \"admin\",\n    password: \"secret\",\n    authSource: \"admin\",\n  },\n  database: \"testdb\",\n});\n\nawait mongo.close();\n```\n"
          },
          {
            "kind": "example",
            "doc": "Insert and query documents\n```ts\nimport { createMongoClient } from \"@probitas/client-mongodb\";\n\ninterface User { name: string; age: number }\n\nconst mongo = await createMongoClient({\n  url: \"mongodb://localhost:27017\",\n  database: \"testdb\",\n});\nconst users = mongo.collection<User>(\"users\");\n\n// Insert a document\nconst insertResult = await users.insertOne({ name: \"Alice\", age: 30 });\nif (insertResult.ok) {\n  console.log(\"Inserted ID:\", insertResult.insertedId);\n}\n\n// Find documents with projection and sorting\nconst findResult = await users.find(\n  { age: { $gte: 25 } },\n  { sort: { name: 1 }, limit: 10 }\n);\nif (findResult.ok) {\n  console.log(\"Found:\", findResult.docs.length);\n}\n\nawait mongo.close();\n```\n"
          },
          {
            "kind": "example",
            "doc": "Transaction with auto-commit/rollback\n```ts\nimport { createMongoClient } from \"@probitas/client-mongodb\";\n\ninterface User { _id?: unknown; name: string; age: number }\n\nconst mongo = await createMongoClient({\n  url: \"mongodb://localhost:27017\",\n  database: \"testdb\",\n});\n\nawait mongo.transaction(async (session) => {\n  const users = session.collection<User>(\"users\");\n  const insertResult = await users.insertOne({ name: \"Bob\", age: 25 });\n  if (!insertResult.ok) throw insertResult.error;\n\n  const updateResult = await users.updateOne(\n    { name: \"Alice\" },\n    { $inc: { age: 1 } }\n  );\n  if (!updateResult.ok) throw updateResult.error;\n});\n\nawait mongo.close();\n```\n"
          },
          {
            "kind": "example",
            "doc": "Aggregation pipeline\n```ts\nimport { createMongoClient } from \"@probitas/client-mongodb\";\n\ninterface User { name: string; age: number; department: string }\n\nconst mongo = await createMongoClient({\n  url: \"mongodb://localhost:27017\",\n  database: \"testdb\",\n});\nconst users = mongo.collection<User>(\"users\");\n\nconst result = await users.aggregate<{ _id: string; avgAge: number }>([\n  { $group: { _id: \"$department\", avgAge: { $avg: \"$age\" } } },\n  { $sort: { avgAge: -1 } },\n]);\nif (result.ok) {\n  console.log(result.docs);\n}\n\nawait mongo.close();\n```\n"
          },
          {
            "kind": "example",
            "doc": "Using `await using` for automatic cleanup\n```ts\nimport { createMongoClient } from \"@probitas/client-mongodb\";\n\nawait using mongo = await createMongoClient({\n  url: \"mongodb://localhost:27017\",\n  database: \"testdb\",\n});\n\nconst result = await mongo.collection(\"users\").find({});\nif (result.ok) {\n  console.log(result.docs);\n}\n// Client automatically closed when scope exits\n```"
          }
        ]
      },
      "kind": "function",
      "functionDef": {
        "params": [
          {
            "kind": "identifier",
            "name": "config",
            "optional": false,
            "tsType": {
              "repr": "MongoClientConfig",
              "kind": "typeRef",
              "typeRef": {
                "typeParams": null,
                "typeName": "MongoClientConfig"
              }
            }
          }
        ],
        "returnType": {
          "repr": "Promise",
          "kind": "typeRef",
          "typeRef": {
            "typeParams": [
              {
                "repr": "MongoClient",
                "kind": "typeRef",
                "typeRef": {
                  "typeParams": null,
                  "typeName": "MongoClient"
                }
              }
            ],
            "typeName": "Promise"
          }
        },
        "hasBody": true,
        "isAsync": true,
        "isGenerator": false,
        "typeParams": []
      }
    }
  ]
}
