import { Driver } from './Driver'; import { CacheMeta } from '../types/CacheMeta'; declare type FileDriverOptions = { cachePath: string; safe?: boolean; }; declare type FileMeta = CacheMeta & { fileName: string; }; export declare class FileDriver implements Driver { private opts; private index; private indexMut; private indexLoc; constructor(opts: FileDriverOptions); private getLoc; private readFile; private writeFile; private writeIndex; init(): Promise; get(key: string): Promise; getMeta(key: string): Promise; set(key: string, obj: T, meta?: CacheMeta): Promise; has(key: string): Promise; clear(): Promise; remove(key: string): Promise; items(): AsyncGenerator<[string, any], void, unknown>; } export {};