import { GeneralFunction } from '@asherng/common-types'; import { UseDebounceBaseOptions } from '../useDebounceCallback/types.js'; type CompareValue = (left: T, right: T) => boolean; type UseDebounce = (value: T, delay: number, option?: UseDebounceOptions) => [T, GeneralFunction, GeneralFunction]; interface UseDebounceOptions extends UseDebounceBaseOptions { compareValue?: CompareValue; } export { CompareValue, UseDebounce, UseDebounceOptions };