import { ElementRef, OnDestroy, OnInit } from '@angular/core';
import { EvoModalService, EvoModalState } from './evo-modal.service';
import { Observable } from 'rxjs';
import * as i0 from "@angular/core";
export declare enum EvoModalCloseTargets {
    BACKGROUND = "background",
    BUTTON = "button",
    DEFAULT = "default",
    ESC = "escape"
}
export declare class EvoModalComponent implements OnInit, OnDestroy {
    private modalService;
    private elRef;
    get id(): string;
    set id(id: string);
    titleText: string;
    acceptText: string;
    acceptButtonColor: string;
    declineText: string;
    asyncAccept: () => Observable<any>;
    modalState: EvoModalState;
    isAcceptLoading: boolean;
    isDeclineDisabled: boolean;
    isVisible: boolean;
    readonly closeTargets: typeof EvoModalCloseTargets;
    private _id;
    private closeTarget;
    constructor(modalService: EvoModalService, elRef: ElementRef);
    ngOnInit(): void;
    ngOnDestroy(): void;
    onBackgroundClick($event: any): void;
    handleOnClose(agreement: boolean, closeTarget: EvoModalCloseTargets): import("rxjs").Subscription;
    private subscribeModalEvents;
    private initKeyboardListener;
    static ɵfac: i0.ɵɵFactoryDeclaration<EvoModalComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<EvoModalComponent, "evo-modal", never, { "id": "id"; "titleText": "titleText"; "acceptText": "acceptText"; "acceptButtonColor": "acceptButtonColor"; "declineText": "declineText"; "asyncAccept": "asyncAccept"; }, {}, never, ["evo-icon", "*"]>;
}
