import type { MongoDBAccessor } from '../../accessor/mongodb.ts';
import type { ScopeMatch } from '../hierarchy/scope.ts';
export declare const ENTITY_FILES: readonly ["schema.json", "documents.jsonl"];
/** ENOENT unless the slotted database exists. */
export declare function databaseGuard(accessor: MongoDBAccessor, match: ScopeMatch, virtual: string): Promise<void>;
/** ENOENT unless the slotted collection or view exists. */
export declare function entityGuard(accessor: MongoDBAccessor, match: ScopeMatch, virtual: string): Promise<void>;
declare function databaseExtra(match: ScopeMatch): Record<string, string>;
declare function kindDirExtra(match: ScopeMatch): Record<string, string>;
declare function entityExtra(match: ScopeMatch): Record<string, string>;
export declare const EXTRAS: {
    database: typeof databaseExtra;
    kind_dir: typeof kindDirExtra;
    database_json: typeof databaseExtra;
    schema_json: typeof entityExtra;
    entity: typeof entityExtra;
    documents: typeof entityExtra;
};
export declare const readdir: import("../hierarchy/probe.ts").ReaddirFn<MongoDBAccessor>;
export {};
//# sourceMappingURL=readdir.d.ts.map