export declare class EventBus {
private events;
constructor();
emit(id: string, data: any): void;
subscribe(id: string, subscriber: Function): void;
}
export declare class EventItem {
id: string;
subscribers: Function[];
constructor(id: string);