/** * A custom hook to create a debounced function. * * @param callback - The function to debounce. * @param delay - The debounce delay in milliseconds. * @param dependencies - Dependency array to control when the debounced function should be recreated. * * @returns The debounced version of the callback function. */ declare function useDebouncedCallback any>(callback: T, delay: number, dependencies?: React.DependencyList): (...args: Parameters) => void; export default useDebouncedCallback;