import { CacheMeta } from '../types/CacheMeta'; export interface Driver { init(): Promise; get(key: string): Promise; getMeta(key: string): Promise; has(key: string): Promise; set(key: string, data: T, meta?: CacheMeta): Promise; clear(): Promise; remove(key: string): Promise; items(): AsyncGenerator<[string, any]>; }