export declare class EventService { subscribeToEvent: (eventName: string, callback: (args: any[]) => void) => string; unsubscribeToEvent: (subscriptionId: string) => boolean; publishEvent: (eventName: string, args?: any[], addToQueue?: boolean, onlyKeepLastEvent?: boolean) => void; }