export type LRUCache<TKey, TValue> = {
    get: (key: TKey) => TValue | undefined;
    set: (key: TKey, value: TValue) => void;
    clear: () => void;
};
export declare function createLRUCache<TKey, TValue>(max: number): LRUCache<TKey, TValue>;
