import { MongoClient, ObjectId, Collection } from 'mongodb'; import { a as MongoDbConfig, f as DbConfig, M as Model, E as Entity, e as Config, T as Table } from './core-BrkNSwvc.js'; import { D as Db } from './db-C8YY1yTO.js'; type IdType = { _id: string; }; declare class MongoDb extends Db<{ _id: string; }> { #private; private mongoConfig; client: MongoClient; constructor(mongoConfig: MongoDbConfig, dbConfig: DbConfig); session(callback: () => Promise): Promise; id(): ObjectId; use, Entity extends Entity>(config: Config): Table; }>; } export { MongoDb as M };