import { type WorkflowGraphProjection, type WorkflowGraphVisit } from 'openxiangda-contracts/browser'; export { workflowDiagramProjection } from './workflow-graph-presentation'; export interface WorkflowDiagramProps { graph: WorkflowGraphProjection; selectedNodeId: string; onSelectNode: (nodeId: string) => void; /** Only overlay titles from the matching effective configuration or frozen visit. */ titles?: Record; /** Optional matching-version summaries, e.g. the effective approval mode. */ summaries?: Record; visits?: readonly WorkflowGraphVisit[]; selectedEdgeId?: string; onSelectEdge?: (edgeId: string) => void; onInsertEdge?: (edgeId: string, template?: string) => void; insertionOptions?: Array<{ value: string; label: string; kind: string; }>; /** Fill the host canvas; code explanations can be shown in the host's node panel. */ presentation?: 'embedded' | 'canvas' | 'designer'; } /** Read-only graph and accessible list share the platform's immutable projection. */ export declare function WorkflowDiagram({ graph, selectedNodeId, onSelectNode, titles, summaries, visits, selectedEdgeId, onSelectEdge, onInsertEdge, insertionOptions, presentation }: WorkflowDiagramProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=WorkflowDiagram.d.ts.map