import type { EntityKind } from './types.ts'; export interface MongoFindOptions { limit?: number; sort?: Record; projection?: Record; skip?: number; } export interface MongoIterOptions { filter?: Record; sort?: Record; projection?: Record; batchSize?: number; } export interface MongoCollectionSpec { name: string; type?: string; options?: { validator?: { $jsonSchema?: unknown; } | Record; }; } export interface MongoIndexAccess { ops?: number; since?: string; } export interface MongoDriver { listDatabases(): Promise; listCollections(database: string, kind?: EntityKind | null): Promise; listCollectionsDetailed(database: string, filter?: { name?: string; }): Promise; findDocuments>(database: string, collection: string, filter?: Record, options?: MongoFindOptions): Promise; iterDocuments>(database: string, collection: string, options?: MongoIterOptions): AsyncIterableIterator; iterInserts>(database: string, collection: string): AsyncIterableIterator; countDocuments(database: string, collection: string, filter?: Record): Promise; listIndexes(database: string, collection: string): Promise[]>; getIndexStats(database: string, collection: string): Promise>; close(): Promise; } //# sourceMappingURL=_driver.d.ts.map