//#region src/useActionFn.d.ts declare function useActionFn(action: (...params: A) => T): { isInProgress: boolean; call: (...args: A) => Promise>; }; declare function useActionFnWithState(action: (state: T, ...params: A) => R): { isInProgress: (state: T) => boolean; call: (state: T, ...args: A) => Promise>; }; //#endregion export { useActionFn, useActionFnWithState };