import { ComponentFactoryResolver, ComponentRef, ViewContainerRef } from '@angular/core'; import { NgFlowchart } from '../model/flow.model'; import { NgFlowchartCanvasService } from '../ng-flowchart-canvas.service'; import { NgFlowchartStepRegistry } from '../ng-flowchart-step-registry.service'; import { NgFlowchartStepComponent } from '../ng-flowchart-step/ng-flowchart-step.component'; /** * This service handles adding new steps to the canvas */ export declare class StepManagerService { private componentFactoryResolver; private registry; private viewContainer; constructor(componentFactoryResolver: ComponentFactoryResolver, registry: NgFlowchartStepRegistry); init(viewContainer: ViewContainerRef): void; createFromRegistry(id: string, type: string, data: any, canvas: NgFlowchartCanvasService): ComponentRef; create(pendingStep: NgFlowchart.PendingStep, canvas: NgFlowchartCanvasService): ComponentRef; }