/** * A hook that returns a debounced value that only updates after a specified delay has passed * since the last time the value changed. * @param value The value to debounce * @param delay The delay in milliseconds. If <= 0, returns the value directly * @returns The debounced value */ export declare function useDebounce(value: T, delay: number): T; /** * A hook that returns a debounced version of the provided function that only executes * after a specified delay has passed since its last invocation. * @param fn The function to debounce * @param delay The delay in milliseconds. If <= 0, returns the function directly * @returns The debounced function with stable identity */ export declare function useDebounceFn any>(fn: F, delay: number): F;