import { Store } from '../../../../core/domain/cache/Store';
export declare class FileStore implements Store {
    protected directory: string;
    constructor(directory: string);
    get<T>(key: string): Promise<T | null>;
    put(key: string, value: unknown, ttl: number): Promise<boolean>;
    forever(key: string, value: unknown): Promise<boolean>;
    forget(key: string): Promise<boolean>;
    flush(): Promise<boolean>;
    getPrefix(): string;
    protected getPayload<T>(key: string): Promise<T | null>;
    protected path(key: string): string;
    protected ensureDirectoryExists(path: string): Promise<void>;
}
