import { Injector, Type } from '@angular/core'; import { ComponentPortal } from '@angular/cdk/portal'; import * as i0 from "@angular/core"; export declare class ComponentRegistryService { protected registry: Map ComponentPortal>; protected typeRegistry: Map>; constructor(); register(component: string, factory: (injector: Injector) => ComponentPortal): void; registerType(key: string, type: Type): void; contains(component: string): boolean; get(component: string, injector?: Injector): ComponentPortal; getType(key: string): Type; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }