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<C>(component: PolymorpheusComponent<C>): ComponentRef<C>;
    addTemplate<C>(templateRef: TemplateRef<C>, context?: C): EmbeddedViewRef<C>;
    static ɵfac: i0.ɵɵFactoryDeclaration<TuiPortals, never>;
    static ɵdir: i0.ɵɵDirectiveDeclaration<TuiPortals, never, never, {}, {}, never, never, true, never>;
}
