export interface Cache { get(key: string): Promise; set(key: string, value: unknown, ttlMs?: number): Promise; has(key: string): Promise; delete(key: string): Promise; clear(): Promise; getAll(): Promise>; }