import { OnDestroy, OnInit, TemplateRef, ViewContainerRef } from '@angular/core'; import { AllowedRole, AuthService } from './auth.service'; import * as i0 from "@angular/core"; /** * Structural directive to perform an authorization check using roles defined in Status Web App * * Checkout the storybook examples for more guidance: * * @example * ```html * * ``` */ export declare class SwaRoleCheckDirective implements OnInit, OnDestroy { private viewContainerRef; private templateRef; private authService; set swaRoleCheckOf(value: AllowedRole[]); set swaRoleCheckUserRoles(value: string[]); private allowedRoles; private userRolesFromTemplate; private subscription; private context; constructor(viewContainerRef: ViewContainerRef, templateRef: TemplateRef, authService: AuthService); ngOnInit(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }