import { IDisposable } from "."; export interface IEvent { (listener: (e: T) => any): IDisposable; } export declare class EventEmitter2 { private _listeners; private _event?; get event(): IEvent; fire(data: T): void; }