import { OnInit, AfterViewInit, OnDestroy, Type, ComponentFactoryResolver, ComponentRef, ChangeDetectorRef } from '@angular/core';
import { InsertionDirective } from './insertion.directive';
import { DialogRef } from './dialog-ref';
import { Observable } from 'rxjs';
import { DialogConfig } from './dialog-config';
/**
 * @ignore
 */
export declare class NpDialog implements OnInit, AfterViewInit, OnDestroy {
    private componentFactoryResolver;
    private cd;
    private dialogRef;
    config: DialogConfig;
    componentRef: ComponentRef<any>;
    childComponentType: Type<any>;
    insertionPoint: InsertionDirective;
    private readonly _onClose;
    onClose: Observable<any>;
    constructor(componentFactoryResolver: ComponentFactoryResolver, cd: ChangeDetectorRef, dialogRef: DialogRef, config: DialogConfig);
    ngOnInit(): void;
    ngAfterViewInit(): void;
    ngOnDestroy(): void;
    onOverlayClicked(evt: MouseEvent): void;
    onDialogClicked(evt: MouseEvent): void;
    loadChildComponent(componentType: Type<any>): void;
}
