import { type ComponentRef, type EmbeddedViewRef, type TemplateRef } from '@angular/core'; import { PolymorpheusComponent } from '@taiga-ui/polymorpheus'; import { type TuiPortals } from './portals'; import * as i0 from "@angular/core"; export declare abstract class TuiPortalService { protected host?: TuiPortals; attach(host: TuiPortals): void; add(content: PolymorpheusComponent): ComponentRef; add(content: TemplateRef, context?: C): EmbeddedViewRef; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export declare class TuiNoHostException extends Error { constructor(); }