export declare const memo: , R>(fn: (() => R) | ((arg: A) => R)) => (() => R) | ((arg: A) => R);