/**
* A custom hook for debouncing a value.
*
* @param value - The value to debounce
* @param delay - The delay in milliseconds (default: 500)
* @returns The debounced value
*
* @example
* ```tsx
* import { useDebounce } from '@sqlrooms/ui';
*
* function SearchInput() {
* const [searchTerm, setSearchTerm] = useState('');
* const debouncedSearchTerm = useDebounce(searchTerm, 300);
*
* useEffect(() => {
* // This will only run when the user stops typing for 300ms
* if (debouncedSearchTerm) {
* performSearch(debouncedSearchTerm);
* }
* }, [debouncedSearchTerm]);
*
* return (
* setSearchTerm(e.target.value)}
* />
* );
* }
* ```
*/
export declare function useDebounce(value: T, delay?: number): T;
//# sourceMappingURL=useDebounce.d.ts.map