import { ElementRef, OnInit, AfterViewInit, SimpleChanges, EventEmitter, OnChanges, OnDestroy } from "@angular/core";
import { Subscription } from "rxjs";
import * as i0 from "@angular/core";
export declare class RbacDirective implements AfterViewInit, OnChanges, OnInit, OnDestroy {
    private _elementRef;
    private _isSuperUser;
    roles: any;
    mode: "hide" | "show" | "replace";
    rbacDisable: any;
    enableSuperUserBypass: boolean;
    sub: Subscription;
    onCheckAuth: EventEmitter<boolean>;
    allowAdmin: boolean;
    constructor(_elementRef: ElementRef);
    ngAfterViewInit(): void;
    ngOnInit(): void;
    ngOnDestroy(): void;
    ngOnChanges(changes: SimpleChanges): void;
    private _evaluatePermissions;
    static ɵfac: i0.ɵɵFactoryDeclaration<RbacDirective, never>;
    static ɵdir: i0.ɵɵDirectiveDeclaration<RbacDirective, "[rbac]", never, { "roles": "roles"; "mode": "mode"; "rbacDisable": "yDisabled"; "enableSuperUserBypass": "enableSuperUserBypass"; "allowAdmin": "allowAdmin"; }, { "onCheckAuth": "onCheckAuth"; }, never, never, false>;
}
