import { HttpClient } from '@angular/common/http'; import { ConfigService, PbacRegistryDto } from '@valtimo/shared'; import { BehaviorSubject, Observable } from 'rxjs'; import { DeleteRolesRequest, Permission, PermissionSchema, Role } from '../models'; import * as i0 from "@angular/core"; export declare class AccessControlService { private readonly configService; private readonly http; readonly roles$: BehaviorSubject; readonly loading$: BehaviorSubject; private valtimoEndpointUri; private readonly apiEndpointUri; private get roleDtos$(); constructor(configService: ConfigService, http: HttpClient); getExternalRoles(externalRoleNamePrefix?: string): Observable; addRole(role: Role): Observable; deleteRoles(request: DeleteRolesRequest): Observable; dispatchAction(actionResult: Observable): void; loadRoles(): void; getRolePermissions(roleKey: string): Observable; exportRolePermissions(roles: string[]): Observable; updateRolePermissions(roleKey: string, updatedPermission: object): Observable; getPermissionSchema(): Observable; getPbacRegistry(): Observable; updateRole(roleKey: string, request: Role): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }