import { OnChanges, OnDestroy, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
export declare class TemplateWrapperDirective implements OnDestroy, OnChanges {
    protected viewContainer: ViewContainerRef;
    templateWrapper: TemplateRef<any> | null;
    templateWrapperContext: Object | null;
    private _viewRef;
    constructor(viewContainer: ViewContainerRef);
    ngOnChanges(changes: SimpleChanges): void;
    ngOnDestroy(): void;
    private _shouldRecreateView;
    private _hasContextShapeChanged;
    private _updateExistingContext;
}
