import { Cache } from '../load.types'; /** * A very simple Least Recently Used cache, * Inspired by https://medium.com/dsinjs/implementing-lru-cache-in-javascript-94ba6755cda9 */ export declare class LRUCache implements Cache { limit: number; private size; private head?; private tail?; private map; constructor(limit?: number); private detach; set(key: TKey, value: TValue): TValue; get(key: TKey): TValue | undefined; clear(): void; }