import { ComponentFactoryResolver, ApplicationRef, Injector, ComponentRef, Type } from '@angular/core'; import * as i0 from "@angular/core"; export declare class DynamicComponentService { private componentFactoryResolver; private appRef; injector: Injector; static componentRegistry: { [name: string]: Type; }; constructor(componentFactoryResolver: ComponentFactoryResolver, appRef: ApplicationRef, injector: Injector); getComponentRef(nameOrType: string | Type): Type; registerReference(componentType: Type): void; registerComponent(name: string, componentType: Type): void; createComponent(nameOrType: string | Type, data?: any): ComponentRef | null; destroyComponent(componentRef: ComponentRef): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }