export declare type EventType = 'win' | 'tie'; export default class EventHandler { listeners: Map void>>; constructor(); registerListener(eventName: EventType, callback: (data?: any) => void): void; emitEvent(eventName: EventType, data?: any): void; private supportEvent; }