import type { AnyFunction } from '../mod.ts'; /** * Hook of stable callback. * * Returned function not changes when callback changes but wraps actual callback. * Useful when you want to use a callback in an effect, * but don't want the callback change to trigger the effect. * * @param callback Callback. * @returns Stable callback. */ export declare function useStableCallback(callback: T): (...args: Parameters) => ReturnType;