/** * Debounce a function. * Delays invoking the function until after `ms` milliseconds have elapsed * since the last time the debounced function was invoked. * * @param fn - The function to debounce * @param ms - Delay in milliseconds (default 200) * @returns The debounced function with a `cancel` method */ export declare function useDebounceFn any>(fn: T, ms?: number): T & { cancel: () => void };