import { ViewContainerRef, ComponentFactoryResolver } from '@angular/core'; /** * A helper directive to mark valid insertion points in the template. * This directive injects the `ViewContainerRef` to gain access to the view container of the element * that will host the dynamically components. * In the `@Directive` decorator, notice the selector name, `get-view-container`; that's what you use * to apply the directive to the element. */ export declare class GetViewContainerDirective { private _viewContainerRef; private _componentFactoryResolver; constructor(_viewContainerRef: ViewContainerRef, _componentFactoryResolver: ComponentFactoryResolver); /** * Returns the injected `ViewContainerRef` to gain access to the view container of the element * that will host the dynamically components. */ readonly viewContainerRef: ViewContainerRef; /** * Returns the injected `ComponentFactoryResolver` to gain access to the factory for a given component type. */ readonly componentFactoryResolver: ComponentFactoryResolver; }