type Callback = (...args: any[]) => any; /** * Stabilizes the function passed so it's always the same between renders. * * The function becomes non-reactive to any values it captures. * It can safely be passed as a dependency of `React.useMemo` and `React.useEffect` without re-triggering them if its captured values change. * * The function must only be called inside effects and event handlers, never during render (which throws an error). */ export declare function useStableCallback(callback: T | undefined): T; export {}; //# sourceMappingURL=useStableCallback.d.ts.map