import { Adapter } from "../Adapter"; export declare class Memory implements Adapter { store: { [key: string]: { time: number; data: any; }; }; constructor(); 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; delWithStart(pattern: string): Promise; }