/** * This hook allows you to debounce any fast changing value. The debounced value will only * reflect the latest value when the useDebounce hook has not been called for the specified * time period. * * Inspired by https://usehooks.com/useDebounce/ */ export default function useDebounced(value: T, delay: number): T;