import { ComponentFactoryResolver, ElementRef, OnDestroy, Type, ComponentRef } from '@angular/core';
import { NgxModalComponent } from './ngx-modal.component';
import * as i0 from "@angular/core";
/**
 * The modal backdrop wrapping wrapper to the modal
 */
export declare class NgxModalWrapperComponent implements OnDestroy {
    private resolver;
    /**
     * Target viewContainer to insert modal content component
     */
    viewContainer: any;
    /**
     * Link wrapper DOM element
     */
    wrapper: ElementRef;
    /**
     * Wrapper modal and fade classes
     */
    modalClasses: string;
    /**
     * Dialog content componet
     * @type {NgxModalComponent}
     */
    content: NgxModalComponent<any, any>;
    /**
     * Click outside callback
     */
    clickOutsideCallback: (event: MouseEvent) => void;
    /**
     * Constructor
     * @param {ComponentFactoryResolver} resolver
     */
    constructor(resolver: ComponentFactoryResolver);
    ngOnDestroy(): void;
    /**
     * Adds content modal component to wrapper
     * @param {Type<NgxModalComponent>} component
     * @return {NgxModalComponent}
     */
    addComponent<T, T1>(component: Type<NgxModalComponent<T, T1>>): {
        ref: ComponentRef<NgxModalComponent<T, T1>>;
        component: NgxModalComponent<T, T1>;
    };
    /**
     * Configures the function to call when you click on background of a modal but not the contents
     * @param callback
     */
    onClickOutsideModalContent(callback: () => void): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<NgxModalWrapperComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<NgxModalWrapperComponent, "ngx-modal-wrapper", never, {}, {}, never, never, false, never>;
}
