import { type ComponentRef, type EmbeddedViewRef, type TemplateRef } from '@angular/core'; import { type PolymorpheusComponent } from '@taiga-ui/polymorpheus'; import * as i0 from "@angular/core"; export declare abstract class TuiPortals { private readonly injector; private readonly anchor; constructor(); addComponent(component: PolymorpheusComponent): ComponentRef; addTemplate(templateRef: TemplateRef, context?: C): EmbeddedViewRef; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }