declare type EventCallback = (data: any) => void;
declare class EventEmitter {
    events: {
        [key: string]: Array<EventCallback>;
    };
    constructor();
    dispatch(event: string, data?: any): void;
    subscribe(event: string, callback: EventCallback): void;
}
export default EventEmitter;
