type Key = string; export interface Cache { wrapFn: (fn: (key: Key) => T) => (key: Key) => T; get(key: Key, genFn: (key: Key) => T): T; clear(): void; } export declare function newCache(options?: { resetSize?: false | number; }): Cache; export {};