export declare const memoize: any>(func: T) => T;