declare module 'lru-cache' { class LRUCache { constructor(config: { max: number, dispose: (k: K, v: V) => any}); get length(): number; has(key: K): boolean; get(key: K): V; set(key: K, val: V); } export = LRUCache; }