import { ComponentRef, ElementRef, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
import { ComponentInjector } from 'component-injector';
import { Subscription } from 'pubsub-distinct';
export declare class Ng2ModalWindowComponent implements OnInit, OnDestroy {
    protected componentInjector: ComponentInjector;
    modalWindow: ElementRef;
    injectContainer: ViewContainerRef;
    animationClass: string;
    protected showModalClass: string;
    protected bodyOpenModalClass: string;
    protected eventSubscriber: Subscription;
    protected injectedComponentRef: ComponentRef<any>;
    protected defaultProperties: any;
    properties: any;
    protected eventName: string;
    constructor(componentInjector: ComponentInjector);
    id: string;
    ngOnInit(): void;
    ngOnDestroy(): void;
    cancelAction(): void;
    successAction(): void;
    overlayClick(): void;
    protected show(): void;
    protected hide(): void;
    protected subscribeToEvent(): void;
    protected initModal(properties: any): void;
    protected unsubscribe(): void;
    protected injectComponent(componentSelector: string): ComponentRef<any>;
    protected setComponentProperties(): void;
    private resetInjectedComponent;
    private setProperties;
    private resetModalEventSubscriber;
}
