import type { MongoClientOptions } from 'mongodb'; import type { CacheStore } from '@nl-framework/core'; import type { OrmDriver } from '../interfaces/driver'; import { type MongoSeedHistoryStoreOptions } from './mongo-seed-history-store'; export interface MongoDriverOptions { uri: string; dbName?: string; clientOptions?: MongoClientOptions; seedHistory?: MongoSeedHistoryStoreOptions; /** Create all declared `@Index` indexes right after connecting (fail-loud). */ autoIndex?: boolean; /** Optional cache store backing per-call `find(..., { cache })` read-through. */ cache?: CacheStore; } export declare const createMongoDriver: (options: MongoDriverOptions) => OrmDriver; //# sourceMappingURL=mongo-driver.d.ts.map