import { type WorkflowGraphProjection, type WorkflowGraphVisit } from 'openxiangda-contracts/browser'; import '@xyflow/react/dist/style.css'; export interface WorkflowFlowCanvasController { locate: (id: string, focus?: boolean) => void; fit: () => void; zoomBy: (direction: number) => void; } /** Lazy module: loading a CRUD page or the node list does not instantiate React Flow. */ export default function WorkflowFlowCanvas(props: { graph: WorkflowGraphProjection; selectedNodeId: string; selectedEdgeId?: string; startAtTop?: boolean; designer?: boolean; titles: Record; summaries?: Record; visits: readonly WorkflowGraphVisit[]; executedEdges: Set; onSelectNode: (id: string) => void; onSelectEdge: (id: string) => void; onNavigate: (id: string, key: string) => boolean; onInsertEdge?: (id: string, template?: string) => void; insertionOptions?: Array<{ value: string; label: string; kind: string; }>; onReady: (controller: WorkflowFlowCanvasController | null) => void; onZoom: (zoom: number) => void; }): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=WorkflowFlowCanvas.d.ts.map