import { IEvent } from "./IEvent" ; export let IEventDispatcher = Symbol ( "IEventDispatcher" ) ; see egret . EventDispatcher version platform includeExample language export interface IEventDispatcher { param type param listener param thisObject param useCapture param priority see see version platform language addEventListener ( type , listener , thisObject ? , useCapture ? , priority ? ) : void ; param type param listener param thisObject param useCapture param priority see see version platform language once ( type , listener , thisObject ? , useCapture ? , priority ? ) : void ; param type param listener param thisObject param useCapture version platform language removeEventListener ( type , listener , thisObject ? , useCapture ? ) : void ; param type returns see version platform language hasEventListener ( type ) : boolean ; param event returns version platform language dispatchEvent ( event ) : boolean ; param type returns see version platform language willTrigger ( type ) : boolean ; }