/** * Returns a function whose identity remains stable while it invokes the * latest committed callback. * * The callback reference is published from a layout effect. A callback from a * render that is abandoned by Suspense or concurrent rendering is therefore * never observable through the returned function. * * @param fn - Callback to invoke when the returned function is called. * @returns A stable function with the same parameter and return types as `fn`. * @public */ export declare function useMemoizedFn unknown>(fn: T): T;