export interface Cache { read: (key: string) => Promise; write: (key: string, value: string) => Promise; flush: () => Promise; }