import { EventEmitter } from '@angular/core'; import { Router } from '@angular/router'; 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 { ReadyState } from './ready-state.model'; export declare class AppSwitcherService { private router; private principal; private userContext; private userStorage; private configService; private resourceService; private _selector; private _hideNotPermission; private _showNotPermissionOfficeLevel; private userCenterAppLoaded; private entryAppLoaded; private appletsTreeRootLoaded; private bindOfficeAppletsIdLoaded; private _userCenterApp; private entryApp; private readyState; private _appletsTree; private _allApplets; private _allAppletSets; private _forbidden; currentAppChange: EventEmitter; readyStateChange: EventEmitter; constructor(router: Router, principal: Principal, userContext: UserContextService, userStorage: UserStorageService, configService: CoreConfigService, resourceService: UaaResourceService); private clearData; registerSelector(selector: any): void; readonly canOpenSelector: boolean; openSelector(): void; private checkReady; readonly isReady: boolean; readonly forbidden: boolean; readonly appletsTree: any; readonly allApplets: any[]; readonly allAppletSets: any[]; readonly currentApp: { id?: number; name?: string; label?: string; fullDisplayName?: string; } | any; readonly userCenterApp: any; findApp(appId: any): any; changeCurrentApp(appId: string | number | any): boolean; checkCurrentAppPermission(routerWhileNotPermission?: string): void; navigateTo(app: any): void; navigateToUserCenter(): void; isAppHomeRouterMatch(appOrRouterUrl: string | any, routerUrl: string): boolean; isAppHomeRouter404(app: any): any; setAppHomeRouter404(app: any): void; getAppHomeRouter(app: any): any; isAppLock(app: any): boolean; private initData; private loadMyApps; private tryLoadUserCenterApp; private tryLoadEntryApp; private tryLoadApplicationSet; private getMyAppIds; private parseAppNodes; private setBindOfficeLevel; }