/**
 * @name useDebounce
 * @description Debounce a value for a given delay
 * @param value <T> value to debounce
 * @param delay <number> (optional) default 500
 * @returns <T> debounced value
 * @example
 * const [value, setValue] = useState<string>('');
 * const debouncedValue = useDebounce<string>(value, 1000);
 *  @example
 * const [value, setValue] = useState<string>('');
 * const debouncedValue = useDebounce<string>(value);
 *
 * useEffect(() => {
 * console.log(debouncedValue);
 * }, [debouncedValue]);
 *
 *
  

 */
export declare function useDebounce<T>(value: T, delay?: number): T;
//# sourceMappingURL=use-debounce.d.ts.map