import { ApplicationRef, ComponentRef, Injector, NgModuleRef, Type, ViewRef } from "@angular/core"; import { DynamicComponentLocation, DynamicModuleInfo } from "../common-types"; import * as i0 from "@angular/core"; export declare class ComponentLoaderService { protected appRef: ApplicationRef; protected ngModule: NgModuleRef; protected rootElement: HTMLElement; private readonly typeMap; private readonly moduleRegistry; private readonly moduleMap; get injector(): Injector; constructor(appRef: ApplicationRef, ngModule: NgModuleRef, rootElement: HTMLElement, moduleRegistry: DynamicModuleInfo[]); findComponentType(selector: string, moduleId?: string): Type; getComponentType(location: DynamicComponentLocation): Promise>; createComponent(componentType: Type, projectableNodes?: any[], injector?: Injector, split?: boolean): ComponentRef; bootstrap(componentType: Type, rootSelectorOrNode?: string | any): ComponentRef; attachView(viewRef: ViewRef): void; detachView(viewRef: ViewRef): void; private populateTypeMap; private loadModule; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }