declare const useMemoizedFn: any>(fn?: T | undefined) => T; export default useMemoizedFn;