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; /** * Click outside callback */ clickOutsideCallback: (event: MouseEvent) => void; /** * Constructor * @param {ComponentFactoryResolver} resolver */ constructor(resolver: ComponentFactoryResolver); ngOnDestroy(): void; /** * Adds content modal component to wrapper * @param {Type} component * @return {NgxModalComponent} */ addComponent(component: Type>): { ref: ComponentRef>; component: NgxModalComponent; }; /** * 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; static ɵcmp: i0.ɵɵComponentDeclaration; }