/** * Custom hook that returns a debounced version of the provided value. * * This hook delays updating the debounced value until after a specified delay has elapsed * since the last time the value changed. It also supports a maximum wait time option. * * @param value - The value to debounce * @param delay - The number of milliseconds to delay * @param options - Additional configuration options * @param options.maxWait - Optional maximum time the value can be delayed before it's updated * @returns The debounced value * * @example * // Basic usage with 300ms delay * const debouncedSearchTerm = useDebouncedValue(searchTerm, 300); * * @example * // With maxWait of 1000ms * const debouncedInput = useDebouncedValue(input, 500, { maxWait: 1000 }); */ export declare const useDebouncedValue: (value: any, delay: number, { maxWait }?: { maxWait?: number; }) => any;