import { ComponentFactoryResolver, ViewContainerRef, Type, ComponentRef } from '@angular/core'; import { IComponentResolverService } from '../interfaces'; export declare class ComponentResolverService implements IComponentResolverService { private _componentFactoryResolver; constructor(_componentFactoryResolver: ComponentFactoryResolver); /** * Creates and returns a new instance of the given Component * @param {IDialogComponent} component The Component to create * @param {ViewContainerRef} viewContainer The view container in which to render the Component * @return {ComponentRef} The newly instantiated ComponentRef */ createComponent(component: Type, viewContainerRef: ViewContainerRef): ComponentRef; }