import type { MongoDBAccessor } from '../../accessor/mongodb.ts'; import type { Searcher } from '../hierarchy/search.ts'; export interface CollectionMatches { database: string; collection: string; docs: Record[]; } export declare function searchCollection(accessor: MongoDBAccessor, database: string, collection: string, pattern: string, limit: number): Promise[]>; export declare function searchDatabase(accessor: MongoDBAccessor, database: string, pattern: string, limit: number): Promise; export declare function formatGrepResults(results: readonly CollectionMatches[]): string[]; export declare const SEARCHERS: Readonly>>; //# sourceMappingURL=search.d.ts.map