/** * When calling external non-react components, and you can't update the function when state changes, * use this to proxy the dynamic function with a static function. */ export declare const useConstFunction: R) | null | undefined>(fn?: TFn) => TFn;