import { EventEmitter } from '@angular/core'; import { Principal } from '../auth/principal.service'; import { CoreConfigService } from '../config/core-config.service'; import { UserStorageService } from './user-storage.service'; import { UserContextService } from './user-context.service'; import { UaaResourceService } from './uaa-resource.service'; import { UaaOfficeService } from './uaa-office.service'; import { ReadyState } from './ready-state.model'; export declare class OfficeSwitcherService { private principal; private userStorage; private userContext; private configService; private resourceService; private officeService; private _communityGroupsMap; private _entryOffice; private _readyState; private _lastOffice; private _selector; currentOfficeChange: EventEmitter; readyStateChange: EventEmitter; constructor(principal: Principal, userStorage: UserStorageService, userContext: UserContextService, configService: CoreConfigService, resourceService: UaaResourceService, officeService: UaaOfficeService); readonly canOpenSelector: any; registerSelector(selector: any): void; openSelector(): void; private checkReady; readonly isReady: boolean; readonly currentOffice: { id?: number; code?: string; name?: string; fullName?: string; officeType?: string; }; readonly currentOfficeLevel: string; readonly currentOfficeLevelText: string; parseOfficeIcon(office?: any): string; private readonly currentApp; private setCurrentOffice; private setLastOfficeByType; private getLastOfficeByType; changeCurrentOffice(office: any, force?: boolean): void; private loadData; private __loadData_EntryOffice; private __loadData_OfficeTree; tryLoadChildren(office: any): void; readonly currentCommunityGroups: any[]; private communityGroups; private setCommunityGroups; private getCommunityGroups; private loadMyCommunityGroups; private loadMyRegions; private loadMyCommunities; }