export declare function memoize(fn: Function): (...args: any[]) => any;