import { type AnyEntity, type EntityClass, type EntitySchema, MikroORM, type Options, type IDatabaseDriver, type EntityManager, type EntityManagerType, type IMigrator } from '@mikro-orm/core'; import { MongoDriver } from './MongoDriver.js'; import type { MongoEntityManager } from './MongoEntityManager.js'; /** Configuration options for the MongoDB driver. */ export type MongoOptions | EntitySchema)[] = (string | EntityClass | EntitySchema)[]> = Partial>; /** Creates a type-safe configuration object for the MongoDB driver. */ export declare function defineMongoConfig | EntitySchema)[] = (string | EntityClass | EntitySchema)[]>(options: MongoOptions): MongoOptions; /** * @inheritDoc */ export declare class MongoMikroORM | EntitySchema)[] = (string | EntityClass | EntitySchema)[]> extends MikroORM { /** * @inheritDoc */ static init = D[typeof EntityManagerType] & EntityManager, Entities extends readonly (string | EntityClass | EntitySchema)[] = (string | EntityClass | EntitySchema)[]>(options: Partial>): Promise>; /** * @inheritDoc */ constructor(options: Partial>); /** * Gets the Migrator. */ get migrator(): IMigrator; }