import type { ObjectStoreDriver } from '@struktoai/mirage-core/core/object_store/driver'; import type { FindOptions } from '@struktoai/mirage-core/resource/base'; import type { GridFSAccessor } from '../../accessor/gridfs.ts'; /** * Translate a find -name glob into a regex fragment matching one path * segment. Returns null for character classes we do not translate (the * caller falls back to the unpushed prefix query; client-side keep() * still applies the exact semantics). */ export declare function globRegex(pattern: string): string | null; /** * Build the fs.files query, pushing -name/-iname/-type/-size server-side * when the translation is exact. Every condition is a superset of the GNU * semantics (directory markers always pass the size condition, unpushable * globs fall back to the prefix scan), so the client-side keep() pass * stays authoritative. */ export declare function buildQuery(pfx: string, options: FindOptions, pushdown: boolean): Record; export declare const DRIVER: ObjectStoreDriver; //# sourceMappingURL=driver.d.ts.map