import { Dispatch, SetStateAction } from 'react'; /** * Generates a debounced state value that updates after a specified delay. * * @param {T} initialValue - The initial value of the state. * @param {number} delay - The delay in milliseconds before updating the debounced value. * @returns {[T, T, Dispatch>]} - An array containing the current value, the debounced value, and a setter function to update the value. */ declare const useDebouncedState: (initialValue: T, delay?: number) => [T, T, Dispatch>]; export { useDebouncedState };