import { Action } from "../../types"; export declare function useAction(action: Action): (...args: any[]) => Promise | void;