export declare type EVENT_HANDLER = { name: string; handler: Function; once?: boolean; }; export default class EventBus { on(eventName: string, func: Function): string; once(eventName: string, func: Function): string; emit(eventName: string, params?: Dictionary | Dictionary[]): void; stop(id: string): void; }