/** * @file useDebouncedValue Hook * @description Hook for debouncing values with configurable options */ /** * Debounce options */ export interface DebounceOptions { /** Debounce delay in milliseconds */ delay?: number; /** Leading edge trigger */ leading?: boolean; /** Trailing edge trigger */ trailing?: boolean; /** Maximum wait time before forced update */ maxWait?: number; } /** * Hook for debouncing a value */ export declare function useDebouncedValue(value: T, delay?: number, options?: Omit): T; /** * Hook for debouncing a callback function */ export declare function useDebouncedCallback unknown>(callback: T, delay?: number, options?: Omit): { callback: (...args: Parameters) => void; cancel: () => void; flush: () => void; pending: () => boolean; }; /** * Hook for throttling a value */ export declare function useThrottledValue(value: T, limit?: number): T;