/** * Hook that "memoizes" a function by skipping reactivity, similar to `React.useEffectEvent`, * except it returns a stable reference. Under the hood, it combines `useLatestRef` and `React.useCallback`. * * @private * * @example * ```ts * const onClick = useStableCallback(props.onClick); * ``` */ export declare function useStableCallback any>(callback: T | undefined): T;