import { Adapter } from "../Adapter"; export declare class Filesystem implements Adapter { protected path: string; constructor(path: string); load(key: string, ttl: number, hash?: string): Promise; save(key: string, data: any, hash?: string): Promise; list(key: string): Promise; purge(key: string, hash?: string): Promise; flush(): Promise; ping(): Promise; getSize(): Promise; private getDirectorySize; getPath(filename: string): string; protected deleteDirectory(dirPath: string): boolean; delWithStart(pattern: string): Promise; }