// very partial type declare module 'async-disk-cache' { interface Options { location: string; compression: boolean; supportBuffer: boolean; key: string; } interface CacheEntry { isCached: boolean; key?: string; value?: T; } export default class Cache { constructor(key: string, options?: Partial); get(key: string): Promise>; set(key: string, value: T): Promise; clear(): Promise; remove(key: string): Promise; } }