export declare type CacheKeyFn = (...args: any[]) => string; export declare function memoizeFunc any>(fn: T, cacheKeyFn?: CacheKeyFn>): T;