import type { ElkNode, LayoutOptions } from 'elkjs/lib/elk-api'; import type { WorkflowGraphProjection } from 'openxiangda-contracts/browser'; type Point = { x: number; y: number; }; type NodePosition = { x: number; y: number; width: number; height: number; input: { id: string; x: number; }; outputs: Array<{ id: string; x: number; }>; }; export type WorkflowFlowPositions = { nodes: Map; edges: Map; }; /** Place ordinary insertion controls halfway along their orthogonal route. */ export declare function connectorMidpoint(points: Point[]): Point; /** Structured forks are atomic blocks in their enclosing layout. Conditions use * their nearest common post-dominator, never an inferred executable graph edge. * A branch's local merge is virtual when shared with its enclosing fork. */ export declare function layoutDesignerRegions(graph: WorkflowGraphProjection, positions: WorkflowFlowPositions, engine: { layout: (graph: ElkNode) => Promise; }, layoutOptions: LayoutOptions): Promise; export {}; //# sourceMappingURL=workflow-parallel-layout.d.ts.map