export declare function memoize any>(fn: T): (...args: Parameters) => ReturnType;