import { Overlay, PositionStrategy } from '@angular/cdk/overlay';
import { ElementRef, EventEmitter, OnDestroy } from '@angular/core';
import * as i0 from "@angular/core";
export declare class ConfirmDirective<T = any> implements OnDestroy {
    protected readonly overlay: Overlay;
    protected readonly elementRef: ElementRef;
    set eventValue(value: T | '');
    confirmed: EventEmitter<T | undefined>;
    unconfirmed: EventEmitter<T | undefined>;
    private subscription;
    private overlayRef?;
    private _eventValue?;
    protected positionStrategy?: PositionStrategy;
    protected isOverlyOpen: boolean;
    constructor(overlay: Overlay, elementRef: ElementRef);
    onClick($event?: Event): void;
    ngOnDestroy(): void;
    protected openConfirmOverly(): void;
    protected onConfirmed(eventValue?: T): void;
    protected onUnconfirmed(eventValue?: T): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDirective<any>, never>;
    static ɵdir: i0.ɵɵDirectiveDeclaration<ConfirmDirective<any>, "[rxapConfirm]", never, { "eventValue": { "alias": "rxapConfirm"; "required": false; }; }, { "confirmed": "confirmed"; "unconfirmed": "unconfirmed"; }, never, never, true, never>;
}
