type AnyAsyncAction = (...args: any[]) => PromiseLike; export interface UseAsyncActionHandlerProps { handler: Action; } export interface UseAsyncActionHandlerResult { isLoading: boolean; handler: (...args: Parameters) => Promise>>; } export declare function useAsyncActionHandler({ handler, }: UseAsyncActionHandlerProps): UseAsyncActionHandlerResult; export {};