/** * Debouncer hook (hacky fix to prevent unecessary state mutations if no delay is passed). * If a number is passed for the delay parameter, use to debounce/set the value. * * @param value the value to debounce * @param delay the delay (ms) for the setTimeout */ declare const useDebounce: (value: T, delay?: number) => T; export default useDebounce;