import { Overlay, OverlayRef } from "@angular/cdk/overlay";
import { Injector, Type } from '@angular/core';
import { ActiveDialog } from "../models/active-dialog";
import { DialogOptions, DialogRef } from '../models/dialog-models';
import * as i0 from "@angular/core";
export declare class DialogService {
    protected readonly activeDialogInstances: ActiveDialog[];
    protected readonly overlay: Overlay;
    protected readonly injector: Injector;
    constructor();
    open<T>(componentRef: Type<T>, options?: DialogOptions): DialogRef<T>;
    protected createComponent<T>(componentRef: Type<T>, dialogOptions?: DialogOptions): {
        componentInstance?: T;
        activeDialog: ActiveDialog;
    };
    protected handleDialogDestroyEvents(injector: Injector, overlayRef: OverlayRef, dialogOptions?: DialogOptions): void;
    protected applyDialogOptionsIntoActiveDialog(activeDialog: ActiveDialog, dialogOptions: DialogOptions | undefined): void;
    protected getOverlayRef(): OverlayRef;
    protected getActiveDialog(injector: Injector): ActiveDialog;
    protected get dialogInjector(): Injector;
    protected checkEscapeEvent(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
}
