import { ElementRef, EmbeddedViewRef, TemplateRef, ViewContainerRef } from '@angular/core'; export declare const PARENT_CONTEXT_TOKEN: unique symbol; export interface ComposedContext { [PARENT_CONTEXT_TOKEN]: TemplateRef[]; children: ComposedView; [key: string]: any; } export declare class ComposedView { private viewContainerRef; private templateRefs?; elementRef: ElementRef; private context; private viewRef; constructor(viewContainerRef: ViewContainerRef, templateRefs?: TemplateRef[]); createEmbeddedView(context: C): EmbeddedViewRef; markForCheck(): void; detectChanges(): void; updateContext(update: (context: any, parent: any) => any): void; destroy(): void; private getParentTemplateRefs; private getHydratedParentContext; } export declare function findParentContext(view: any): ComposedContext; export declare function isParentContext(context: any): context is ComposedContext;