export declare const DispatchEvents: { readonly TOKEN_LOGIN: "token:login"; readonly TOKEN_REFRESH: "token:refresh"; readonly TOKEN_REFRESH_FAILED: "token:refreshFailed"; readonly UMS_LOGIN: "ums:login"; readonly UMS_SWITCH_USER: "ums:switchUser"; readonly UMS_LOGOUT: "ums:logout"; }; export declare type DispatchEventsType = typeof DispatchEvents[keyof typeof DispatchEvents]; export declare type FunctionEvents = (...args: any[]) => void; export declare class Dispatcher { private events; on(eventName: DispatchEventsType, key: string, listener: FunctionEvents): void; off(eventName: DispatchEventsType, key: string): void; emit(eventName: DispatchEventsType, ...data: any): void; }