import type { TreeGraphData, VisualizationOptions } from '../../types'; export type MindmapData = TreeGraphData; /** * MindmapConfig defines the configuration for rendering the mindmap. */ export interface MindmapConfig { type?: 'mindmap'; data: MindmapData; direction?: 'H' | 'LR' | 'RL'; theme?: 'default' | 'academy' | 'dark'; title?: string; style?: { backgroundColor?: string; palette?: string[]; }; } /** * MindmapInstance represents a mindmap instance with render and destroy methods. */ export interface MindmapInstance { render: (config: MindmapConfig) => void; destroy: () => void; zoomTo: (zoom: number) => void; getZoom: () => number | undefined; } /** Props type for SSR package to import */ export type MindMapProps = Pick; /** * Mindmap component using G6 5.0 with mindmap layout. * Follows the "boxed" type style from 0.x @ant-design/graphs MindMap. */ export declare const Mindmap: (options: VisualizationOptions) => MindmapInstance;