declare class EventEmitter { events: Record; constructor(); on(event: string, callback: Function, priority?: boolean): void; off(event: string, callback: Function): void; _emit(event: string, ...args: any[]): void; hasListener(event: string): boolean; resetEvents(): void; static createChild(ChildObject: any): void; } export default EventEmitter;