import { KnowledgeGraph } from '../contracts/graph.js'; import { type SemanticAnomaly } from './analyze.js'; import type { Communities } from './cluster.js'; type HtmlExportMode = 'auto' | 'inline' | 'overview'; interface HtmlExportOptions { mode?: HtmlExportMode; cohesionScores?: Record; } interface HtmlExportResult { mode: 'inline' | 'overview'; communityPageCount: number; reason: string; } export declare function toJson(graph: KnowledgeGraph, communities: Communities, outputPath: string, communityLabels?: Record, semanticAnomalies?: SemanticAnomaly[], extractorVersion?: number): void; export declare function toCypher(graph: KnowledgeGraph, outputPath: string): void; export declare function toGraphml(graph: KnowledgeGraph, communities: Communities, outputPath: string): void; /** * Export the graph as a static SVG with a deterministic, dependency-free layout. * * Communities are arranged in a grid and nodes are positioned on a circle inside * each community cell, which keeps output stable across runs for the same input. */ export declare function toSvg(graph: KnowledgeGraph, communities: Communities, outputPath: string, communityLabels?: Record): void; export declare function toHtml(graph: KnowledgeGraph, communities: Communities, outputPath: string, communityLabels?: Record, options?: HtmlExportOptions): HtmlExportResult; export declare function toObsidian(graph: KnowledgeGraph, communities: Communities, outputDir: string, communityLabels?: Record, cohesionScores?: Record): number; export {};