/** * This is based heavily on the Material CDK Portal. * I just trimmed it down a bunch. */ import { ElementRef, NgZone, TemplateRef, ViewContainerRef } from '@angular/core'; import { DomOutlet } from './DomOutlet'; import { TemplateDirective } from './template.directive'; export declare class Template { private templateDirective; context?: any; private host; get origin(): ElementRef; get templateRef(): TemplateRef; get viewContainerRef(): ViewContainerRef; get zone(): NgZone; constructor(templateDirective: TemplateDirective, context?: any); attach(host: any, context?: any | undefined): any; detach(): void; setAttachedHost(host: DomOutlet | null): void; }