import type { GraphData, VisualizationOptions } from '../../types'; /** * FlowDiagramConfig defines the configuration for rendering the flow diagram. */ export interface FlowDiagramConfig { type?: 'flow-diagram'; data: GraphData; title?: string; theme?: 'default' | 'academy' | 'dark'; style?: { backgroundColor?: string; palette?: string[]; }; } /** * FlowDiagramInstance represents a flow diagram instance with render and destroy methods. */ export interface FlowDiagramInstance { render: (config: FlowDiagramConfig) => void; destroy: () => void; zoomTo: (zoom: number) => void; getZoom: () => number | undefined; } /** * FlowDiagram chart component using G6 5.0 with dagre layout. */ export declare const FlowDiagram: (options: VisualizationOptions) => FlowDiagramInstance;