import type { MindMapPlugin, ParseContext, ParsedLineResult, LayoutContext } from './types'; import type { MindMapData, LayoutNode, Edge } from '../types'; import type { TokenLayout } from '../utils/inline-markdown'; import type { ThemeColors } from '../utils/theme'; export declare function runPreParseMarkdown(plugins: MindMapPlugin[], md: string, ctx: ParseContext): string; export declare function runParseLine(plugins: MindMapPlugin[], line: string, index: number, ctx: ParseContext): ParsedLineResult | null; export declare function runCollectFollowLines(plugins: MindMapPlugin[], lines: string[], startIdx: number, node: MindMapData, ctx: ParseContext): number; export declare function runTransformNodeData(plugins: MindMapPlugin[], node: MindMapData, rawText: string, ctx: ParseContext): MindMapData; export declare function runPostParseTree(plugins: MindMapPlugin[], roots: MindMapData[], ctx: ParseContext): MindMapData[]; export declare function runSerializePreamble(plugins: MindMapPlugin[], roots: MindMapData[]): string; export declare function runSerializeListMarker(plugins: MindMapPlugin[], node: MindMapData, defaultMarker: string): string; export declare function runSerializeNodeText(plugins: MindMapPlugin[], node: MindMapData, baseText: string): string; export declare function runSerializeFollowLines(plugins: MindMapPlugin[], node: MindMapData, indent: number): string[]; export declare function runAdjustNodeSize(plugins: MindMapPlugin[], node: MindMapData, width: number, height: number, fontSize: number): { width: number; height: number; }; export declare function runFilterChildren(plugins: MindMapPlugin[], node: MindMapData, children: MindMapData[], ctx: LayoutContext): MindMapData[]; export declare function runTransformEdge(plugins: MindMapPlugin[], edge: Edge, fromNode: LayoutNode, toNode: LayoutNode): Edge; export declare function runGenerateExtraEdges(plugins: MindMapPlugin[], nodes: LayoutNode[], roots: MindMapData[], ctx: LayoutContext): Edge[]; export declare function runTransformNodeColor(plugins: MindMapPlugin[], node: LayoutNode, data: MindMapData, parentColor: string): { color?: string; bgColor?: string; }; export declare function runRenderNodeDecoration(plugins: MindMapPlugin[], node: LayoutNode, theme: ThemeColors): React.ReactNode[]; export declare function runRenderInlineToken(plugins: MindMapPlugin[], layout: TokenLayout, key: number): React.ReactNode | null; export declare function runRenderOverlay(plugins: MindMapPlugin[], nodes: LayoutNode[], edges: Edge[], theme: ThemeColors): React.ReactNode[]; export declare function runExportNodeDecoration(plugins: MindMapPlugin[], node: LayoutNode, theme: ThemeColors, allPlugins?: MindMapPlugin[], pngSafe?: boolean): string; export declare function runExportInlineToken(plugins: MindMapPlugin[], layout: TokenLayout, pngSafe?: boolean): string | null; export declare function runExportOverlay(plugins: MindMapPlugin[], nodes: LayoutNode[], edges: Edge[], theme: ThemeColors): string;