import { ComponentFactoryResolver, ComponentRef } from '@angular/core';
import { ModalComponent } from './modal.component';
import { OverlayContainerRef } from '@duoduo-oba/ng-devui/overlay-container';
import { IDialogOptions } from './modal.types';
export declare class DialogService {
    private componentFactoryResolver;
    private overlayContainerRef;
    contentRef: ComponentRef<any>;
    constructor(componentFactoryResolver: ComponentFactoryResolver, overlayContainerRef: OverlayContainerRef);
    open({ id, width, backdropCloseable, maxHeight, showAnimate, title, content, html, data, buttons, injector, componentFactoryResolver, beforeHidden, onClose, dialogtype, showCloseBtn, draggable, placement, offsetX, offsetY, bodyScrollable }: IDialogOptions): {
        modalInstance: ModalComponent;
        modalContentInstance: any;
    };
}
