import { AfterViewInit, ElementRef, OnDestroy } from '@angular/core';
import { Observable, Subject } from 'rxjs';
import { InterceptDeactivateService } from '../services/intercept-deactivate.service';
import * as i0 from "@angular/core";
export declare class InterceptDeactivateDirective implements AfterViewInit, OnDestroy {
    private readonly elRef;
    private readonly interceptDeactivate;
    enabled: boolean | '';
    enabled$$: Observable<boolean | ''>;
    enabled$: Observable<boolean>;
    destroy$$: Subject<void>;
    constructor(elRef: ElementRef<HTMLElement>, interceptDeactivate: InterceptDeactivateService);
    ngAfterViewInit(): void;
    ngOnDestroy(): void;
    onBeforeUnload(): boolean;
    static ɵfac: i0.ɵɵFactoryDeclaration<InterceptDeactivateDirective, never>;
    static ɵdir: i0.ɵɵDirectiveDeclaration<InterceptDeactivateDirective, "[aclInterceptDeactivate]", never, { "enabled": "aclInterceptDeactivate"; }, {}, never, never, false>;
}
