import { Event } from "./Event" ; export interface IEventEmitter { addListener ( eventType , handler ) : void ; removeListener ( eventType , handler ) : void ; hasListener ( eventType ) : boolean ; dispatchEvent ( event ) : void ; }