import { WorkflowDesignerState } from '../workflow-designer.state'; import { Workflow } from 'verben-workflow-ui/src/lib/models'; import { SwimlaneService } from './swimlane.service'; import { NodeManagementService } from './node-management.service'; import { ConnectionService } from './connection.service'; import * as i0 from "@angular/core"; /** * ⚠️ **NOT ON THE LIVE PATH — injected by nothing.** * * This service appears in `WorkflowDesignerModule`'s `providers` array, which * makes it look wired up, but no component injects it. Its * `parseWorkflowData` and `transformToWorkflowModel` are stale duplicates of * the implementations that actually run: * * - load → `WorkflowDesignerComponent.parseWorkflowData` * - save → `WorkflowDesignerState.transformToWorkflowModel` * * Edit those. Changes here will pass review and do nothing at runtime. * * @see ./docs/06-known-issues.md section A — the split-brain problem */ export declare class TransformerService { private state; private swimlaneService; private nodeService; private connectionService; private loadedObjectIds; constructor(state: WorkflowDesignerState, swimlaneService: SwimlaneService, nodeService: NodeManagementService, connectionService: ConnectionService); /** * Transform the UI model to a Workflow API model */ transformToWorkflowModel(): Workflow; /** * Parse API workflow model and convert to UI model */ parseWorkflowData(workflow: Workflow): void; /** * Register a loaded object from the API */ registerLoadedObject(id: string, code: string): void; /** * Check if an object was loaded from API */ wasLoadedFromApi(id: string): boolean; /** * Get the code for a loaded object */ getCodeForObject(id: string): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }