import { Cache, CacheOptions } from './Cache'; export declare const configFileCache: (config: FileCacheOptions) => [typeof FileCache, FileCacheOptions]; export interface FileCacheOptions extends CacheOptions { storePath: string; db?: number; } export declare class FileCache extends Cache { protected readonly storePath: string; constructor(config: FileCacheOptions); protected getValue(key: string): Promise; protected setValue(key: string, value: string, duration: number): Promise; protected addValue(key: string, value: string, duration: number): Promise; protected deleteValue(key: string): Promise; protected deleteAllValues(): Promise; protected deleteDirs(storePath: string): void; protected getFilePath(key: string): string; }