import { NgModuleFactoryLoader, Injector, ViewContainerRef, Compiler } from '@angular/core'; import { NgxCmModalContext, NgxCmModuleInfo } from '../models'; import { ComponentFactory, ComponentFactoryResolver } from '@angular/core'; import { Observable } from 'rxjs'; export declare class NgxComponentService { private _ngModuleFactoryLoader; private _compiler; private _injector; private _componentFactoryResolver; private _moduleRegistry; container: ViewContainerRef; constructor(_ngModuleFactoryLoader: NgModuleFactoryLoader, _compiler: Compiler, _injector: Injector, _componentFactoryResolver: ComponentFactoryResolver, _moduleRegistry: NgxCmModuleInfo[]); OpenModal(context: NgxCmModalContext): Observable; LoadComponentFactory(context: NgxCmModalContext): Observable; LoadModule(moduleId: string): Promise>; BuildModal(context: NgxCmModalContext): void; UpdateContainer(hostComponentFactory: ComponentFactory, context: NgxCmModalContext, cleanUp?: Function): void; FindModule(moduleId: any): NgxCmModuleInfo; ComponentFactory(moduleRef: any, component: any): any; private GetModuleFactory; } export declare function componentNotFoundError(selector: string): Error; export declare function duplicateModuleDeclarationError(moduleId: string): Error; export declare function moduleNotFoundError(moduleId: string): Error;