import { EventEmitter, InjectionToken } from '@angular/core'; import * as msal from '@azure/msal-browser'; import { Subscription } from 'rxjs'; import * as i0 from "@angular/core"; export interface UserMicrosoft { username: string; homeAccountId: string; name?: string; idToken?: string; groups: string[]; } export interface GetAccountOptionData { forceRefresh?: boolean; refreshTokenExpirationOffsetSeconds?: number; } export declare const MS_LOGIN_MODE: InjectionToken; export declare class MicrosoftAuthService { private tenant; private clientId; private groupIdMap; private cacheLocation; private loginMode; pca: Promise; accessToken: string | null; idToken: string | null; currentUser: UserMicrosoft | null; currentAccount: msal.AccountInfo | null; evento: EventEmitter; pathChangedEvent: EventEmitter; constructor(tenant: string, clientId: string, groupIdMap: { [key: string]: string; }, cacheLocation: string, loginMode: string); onAuthStateChanged(fun: Function): Subscription; createMicrosoftAuth(): Promise; assignCurrentUserFromAccount(response: any): Promise; bindEvents(): Promise; refreshActiveAccount(redirectIdNoUser?: string, minutes?: number): Promise; getActiveAccount(options?: GetAccountOptionData | null): Promise; getSessionToken(type?: string): Promise; logoutSimple(): Promise; logout(): Promise; hideHash(): void; restoreHash(): boolean; login(force?: boolean): Promise; getRoomNameFromUser(user: UserMicrosoft): string | null; getRoomNameFromPath(): string | null; isUserInGroupInternal(user: UserMicrosoft | null, groups: string[], and: boolean): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }