import { IFileDirStat } from 'recursive-readdir-files'; export declare type CacheFileOptions = { folder?: string; isSave?: boolean; }; export declare class CacheFile { data: Record>; path: string; filename: string; folder: string; isSave: boolean; constructor(folder?: string); init(isSave?: boolean): Promise; load(): Promise; save(): Promise; getPath(rawPath: string): string; get(rawPath: string): Partial; add(stat: IFileDirStat, update?: boolean): this; update(filepath: string): Promise; remove(rawPath: string): void; } export declare const cacheFile: CacheFile;