export default class EventEmitter { private observers; constructor(); /** * Pushes an event to the passed in listener. * @param {Object} event The event that was fired. * @param {Object} listener The listener that the fired event will be pushed to. * @function * @public * @returns {void} Method does not return a value. */ on(event: string, listener: any): void; /** * Removes an event from a passed in listener. * @param {Object} event Event to be removed from the listener. * @param {Object} listener The listener the event will be removed from. * @function * @public * @returns {void} Method does not return a value. */ off(event: string, listener: any): void; /** * Emits the passed in event to all observers. * @param {Object} event The event to be broadcasted to all available observers. * @param {Object} args A variable number of objects passed in to attatch. * @function * @public * @returns {void} Returns if there is no current observers for the passed in event. */ protected emit(event: any, ...args: Array): void; /** * Returns the true number of current observers. * @returns {int} The current number of observers. * @function * @public */ protected numberOfObservers(): number; } //# sourceMappingURL=EventEmitter.d.ts.map