import { ComponentType } from '@angular/cdk/portal'; import { ViewContainerRef, ComponentFactoryResolver, OnInit, TemplateRef, ElementRef, ChangeDetectorRef } from '@angular/core'; import { ModalService } from './modal-popup.service'; import * as i0 from "@angular/core"; interface ModalOptions { title?: string; body?: string; data?: any; size?: { minWidth?: string; width?: string; maxWidth?: string; minHeight?: string; height?: string; maxHeight?: string; }; } export declare class AngularModalPopup implements OnInit { private componentFactoryResolver; private modalService; private cd; private elementRef; title: string | undefined; body: string | undefined; RAMDOM_ID: number; options?: ModalOptions; dynamicComponentContainer: ViewContainerRef; isVisible: boolean; constructor(componentFactoryResolver: ComponentFactoryResolver, modalService: ModalService, cd: ChangeDetectorRef, elementRef: ElementRef); ngOnInit(): void; injectComponent(options: ModalOptions, componentOrTemplate: ComponentType | TemplateRef, RAMDOM_ID: number): void; close(RAMDOM_ID: number): void; ClosePopup(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export {};