/** * MongoDB connection config */ export type MongoDBConnectionConfig = { /** * MongoDB client name. Always 'mongodb' */ client: 'mongodb'; /** * Connection string for MongoDB */ connectionString?: string; /** * Connection details */ connection?: { /** * Database host */ host?: string; /** * Database port */ port?: number; /** * Database username */ user?: string; /** * Database password */ password?: string; /** * Database name */ database?: string; /** * Authentication source */ authSource?: string; /** * Connection options */ options?: Record; }; /** * Pool configuration */ pool?: { /** * Min connections in pool */ min?: number; /** * Max connections in pool */ max?: number; }; /** * Health check configuration */ healthCheck?: boolean; /** * Debug mode */ debug?: boolean; }; /** * MongoDB config */ export type MongoDBConfig = { /** * Default connection to use */ connection: string; /** * Map of connection configurations */ connections: Record; }; /** * Define MongoDB configuration */ export declare function defineConfig(config: MongoDBConfig): MongoDBConfig;