import { OnDestroy, OnInit } from '@angular/core';
import { ControlContainer, NgControl } from '@angular/forms';
import { Observable } from 'rxjs';
import * as i0 from "@angular/core";
/**
 *
 * Usage:
 * If you want to disable a formControl.
 *
 * eg:
 * <input formControlName="name" [aclDisabled]="true">
 *
 */
export declare class DisabledDirective implements OnInit, OnDestroy {
    private readonly ctrlContainer;
    private readonly ngControl;
    aclDisabled: boolean | '';
    aclDisabled$: Observable<boolean | ''>;
    enableOnDestroy: boolean | '';
    private readonly destroy$$;
    constructor(ctrlContainer: ControlContainer, ngControl: NgControl);
    ngOnInit(): void;
    ngOnDestroy(): void;
    private checkStatus;
    static ɵfac: i0.ɵɵFactoryDeclaration<DisabledDirective, [{ optional: true; self: true; }, { optional: true; self: true; }]>;
    static ɵdir: i0.ɵɵDirectiveDeclaration<DisabledDirective, "[aclDisabled]", never, { "aclDisabled": "aclDisabled"; "enableOnDestroy": "enableOnDestroy"; }, {}, never, never, false>;
}
