import { Component, ViewContainerRef, Compiler, ComponentFactory, ComponentRef, OnDestroy, Type, Provider } from '@angular/core'; import { DelegateService } from '../services/delegateService'; export declare function createComponentFactory(compiler: Compiler, metadata: Component, imports: Array | any[]>, providers: Provider[]): Promise>; export declare class DelegateControl implements OnDestroy { private viewContainer; private compiler; private delegates; id: string; componentReference: ComponentRef; constructor(viewContainer: ViewContainerRef, compiler: Compiler, delegates: DelegateService); ngOnChanges(): void; ngOnDestroy(): void; }