import LRU from 'lru-cache'; import { CacheLayer } from './CacheLayer'; import { FetchResult, LRUStats } from './typings'; export declare class LRUCache implements CacheLayer { private multilayer; private storage; private hits; private total; private disposed; constructor(options: LRU.Options); get: (key: K) => V | void; getOrSet: (key: K, fetcher?: () => Promise>) => Promise; set: (key: K, value: V, maxAge?: number) => boolean; has: (key: K) => boolean; getStats: (name?: string) => LRUStats; }