export interface UseDebouncedCallbackOptions { delay: number; flushOnUnmount?: boolean; leading?: boolean; } export type UseDebouncedCallbackReturnValue any> = ((...args: Parameters) => void) & { flush: () => void; cancel: () => void; }; export declare function useDebouncedCallback any>(callback: T, options: number | UseDebouncedCallbackOptions): ((...args: Parameters) => void) & { flush: () => void; cancel: () => void; _isFirstCall: boolean; };