export declare module EventHandler { function subscribeToEvent(eventName: string, callback: (args: any[]) => void): string; function unsubscribeToEvent(subscriptionId: string): boolean; function publishEvent(eventName: string, args: any[], addToQueue?: boolean, onlyKeepLastEvent?: boolean): void; function clearEventQueue(eventName: string): void; function dispose(): void; }