import { ComponentFactoryResolver, ComponentRef, Type, ViewContainerRef } from '@angular/core'; import * as i0 from "@angular/core"; export declare class DynamicComponentCreatorService { private componentFactoryResolver; constructor(componentFactoryResolver: ComponentFactoryResolver); /** * Create cms angular component and inject it in DOM * @param {ViewContainerRef} parent * @param {Type} component */ create(parent: ViewContainerRef, component: Type): ComponentRef; /** * Destroy component * @param {ComponentRef} componentRef */ destroy(componentRef: ComponentRef): void; /** * Assign data to component instance * @param {ComponentRef} componentRef * @param {any} data */ assign(componentRef: ComponentRef, data: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }