import { CacheGetData, CacheStorageAdapter } from "../typings";
export default class LocalStorageCache implements CacheStorageAdapter {
    ttl: number;
    constructor(ttl: number);
    get<T = any>(key: string): Promise<CacheGetData<T>>;
    set<T = any>(key: string, value: T): Promise<boolean>;
    delete(key: string): Promise<boolean>;
    clear(): Promise<boolean>;
    keys(): Promise<string[]>;
}
