import { Overlay } from '@angular/cdk/overlay';
import { OnDestroy } from '@angular/core';
import { EuiMessageBoxInterface } from '../models/eui-message-box.config';
import * as i0 from "@angular/core";
export declare class EuiMessageBoxService implements OnDestroy {
    private overlay;
    private overlayRef;
    private destroy$;
    private euiMessageBoxContainerComponent;
    constructor(overlay: Overlay);
    ngOnDestroy(): void;
    /**
     * Open a Message Box
     *
     * @param {EuiMessageBoxInterface} config Configuration applied to the message box.
     */
    openMessageBox(config: EuiMessageBoxInterface): void;
    /**
     * Close a Message Box
     */
    closeMessageBox(): void;
    static ɵfac: i0.ɵɵFactoryDef<EuiMessageBoxService, never>;
    static ɵprov: i0.ɵɵInjectableDef<EuiMessageBoxService>;
}
