UNPKG

epic-designer

Version:

基于vue3的设计器,可视化开发页面表单

13 lines (12 loc) 511 B
import { InjectionKey } from 'vue'; import { EventBus } from '../common/createEventBus'; export declare const EVENT_BUS_KEY: InjectionKey<EventBus>; export declare function useEventBus(): { clear: () => void; emit: (event: any, ...args: any[]) => void; emitRoot: (event: any, ...args: any[]) => void; off: (event: any, callback: any) => void; offRoot: (event: any, callback: any) => void; on: (event: any, callback: any) => any; onRoot: (event: any, callback: any) => any; } | null;