import type { ActionObject, ListenerAction, RendererAction, RendererEvent, ScopedComponentType } from '../types'; export declare enum LoopStatus { NORMAL = 0, BREAK = 1, CONTINUE = 2 } /** * 事件动作实例类型 */ export declare const ACTION_INSTANCE_TYPE: { /** * 组件setValue/disable/enable/show/hidden及自定义事件 */ readonly COMPONENT: "component"; /** 广播事件 */ readonly BROADCAST: "broadcast"; /** 打开链接事件*/ readonly OPENLINK: "openlink"; }; export declare const registerAction: (type: ListenerAction["actionType"] | (string & {}), action: RendererAction) => void; export declare const getActionByType: (type: string) => RendererAction; export declare const runActions: (actions: ActionObject | ActionObject[], renderer: ScopedComponentType, event: RendererEvent) => Promise; export declare const runAction: (actionInstrance: RendererAction, actionConfig: ActionObject, renderer: ScopedComponentType, event: RendererEvent) => Promise;