import type { ObjectId } from 'mongodb'; import type { IndexCacheStore } from '@struktoai/mirage-core/cache/index/store'; import type { PathSpec } from '@struktoai/mirage-core/types'; import type { GridFSAccessor } from '../../accessor/gridfs.ts'; export interface GridFSReadOptions { offset?: number; size?: number; } export declare function resolveFileId(accessor: GridFSAccessor, path: PathSpec, key: string): Promise; export declare function isNoFileError(err: unknown): boolean; export declare function read(accessor: GridFSAccessor, path: PathSpec, _index?: IndexCacheStore, options?: GridFSReadOptions): Promise; //# sourceMappingURL=read.d.ts.map