import { Observable } from "rxjs"; import { AppGlobalState } from "../state/_global.state"; import { StateProviderService } from "../type/service.type"; import { ActionResult } from "../type/common.type"; import { UserIdentityState } from "../state/user-identity.state"; import { AccountModel, RestrictionLookup } from "../api/api.schemas"; import * as i0 from "@angular/core"; export declare class UserIdentityService extends StateProviderService { private _apiService; private _router; private _secureTokenState; private _runtimeApplicationState; token: string; constructor(_appGlobalState: AppGlobalState); invalidateToken(): boolean; loadAccount(): Observable>; setToken(token?: string): void; logout(): void; isAuthenticated(): boolean; isAuthorized(restriction: RestrictionLookup): boolean; isAllAuthorized(restrictions: RestrictionLookup[]): boolean; isAnyAuthorized(restrictions: RestrictionLookup[]): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }