import type { RuntimeAction } from '../action/types'; export declare const globalEvents: import("eventbus-z").GlobalBus, false>; export declare function useAction(action: RuntimeAction): { execute: (input: TInput) => Promise; abort: () => void; loading: boolean; error: unknown; events: import("eventbus-z").GlobalBus, false>; globalEvents: import("eventbus-z").GlobalBus, false>; };