import { ContextContract, MetaContract } from '../utils/control.util'; import * as i0 from "@angular/core"; export declare class ControlService { private readonly stateService; private readonly storeService; private tokenStoreKey; private metaStoreKey; private contextStoreKey; login(token: string, userId: string, clientId: string, workspaceId: string, meta?: MetaContract): void; isLoggedIn(permissions?: string[]): boolean; isLoggedOut(permissions?: string[]): boolean; logout(): void; switch(token: string, userId: string, clientId: string, workspaceId: string, meta?: MetaContract): void; setToken(token: string): void; setContext(userId: string, clientId: string, workspaceId: string): void; getToken(): string | undefined; getContext(): ContextContract | null; getMeta(): MetaContract | null; getUser(): any; getRoles(): string[] | undefined; getPermissions(): string[] | undefined; belongTo(roles: string[]): boolean; allowAll(permissions: string[]): boolean; denyAll(permissions: string[]): boolean; allowAny(permissions: string[]): boolean; denyAny(permissions: string[]): boolean; private check; private options; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }