import { EventEmitter } from '@angular/core'; import { Principal } from '../auth/principal.service'; import { CoreConfigService } from '../config/core-config.service'; import { UserStorageService } from './user-storage.service'; export declare class UserContextService { private principal; private userStorage; private configService; private data; dataChange: EventEmitter<{ key: string; value: any; }>; currentAppChange: EventEmitter; currentOfficeChange: EventEmitter; constructor(principal: Principal, userStorage: UserStorageService, configService: CoreConfigService); private clearData; putData(key: string, value: any): boolean; getData(key: string): any; readonly identity: Promise; readonly userAccount: any; getCurrentUser(): Promise; readonly currentUser: any; readonly currentUserId: number; readonly isAuthenticated: boolean; readonly currentApp: any; readonly currentAppId: any; readonly currentOffice: any; readonly currentOfficeId: number; addPage404(routerLink: string): boolean; isPage404(routerLink: string): boolean; }