export interface Adapter { 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; }