/**
 * Updates a value using the debounce strategy.
 * Commonly used with the useEffect hook to check when the returned 'debouncedValue' has been updated
 * @param initialValue starting value
 * @param time setTimeout delay time
 * @example
 * const [debouncedValue, setVal, val] = useDebounce<string>('intialValue', 500);
 * const func = () => setVal('newValue');
 * useEffect(() => {
 * console.log(debouncedValue);
 * }, [debouncedValue]);
 */
export declare const useDebounce: <T>(initialValue: T, time: number) => [T, React.Dispatch<T>, T];
//# sourceMappingURL=useDebounce.d.ts.map