import { MemoCache } from '@naturalcycles/js-lib';
import * as LRUCache from 'lru-cache';
export declare type LRUMemoCacheOpts = LRUCache.Options<string, any>;
/**
 * @example
 * Use it like this:
 *
 * @memo({ cacheFactory: () => new LRUMemoCache({...}) })
 * method1 ()
 */
export declare class LRUMemoCache implements MemoCache {
    constructor(opt: LRUMemoCacheOpts);
    private lru;
    has(k: any): boolean;
    get(k: any): any;
    set(k: any, v: any): void;
    clear(): void;
}
