export declare class EventBus { constructor(ctx?: any); private _ctx; private _events; on(event: string, cb: Function): this; off(event: string, cb: Function): void; emit(event: string, ...args: any[]): Promise; destroy(): void; }