import { ActionFn } from "@bodynarf/utils";
/**
* Get debounced handler
* @param handler Action to handle
* @param debounceTime Amount of seconds to stay inactive
* @returns Pair: current state, is in debounce state; handler with debounce
* @example
* ```
* const [debounce, onReloadClick] = useDebounceHandler(reloadData, 3);
*
*
* ```
*/
export declare const useDebounceHandler: (handler: () => Promise, debounceTime: number) => [boolean, ActionFn];
//# sourceMappingURL=useDebounceHandler.d.ts.map