export interface ExportNode { /** Stable node id. For file-level graphs, use the file path. */ id: string; /** Optional display label; falls back to `id`. */ label?: string; /** Optional extra attributes; GraphML emits as `` keys. */ attributes?: Record; } export interface ExportEdge { from: string; to: string; /** Optional edge weight; default 1. */ weight?: number; /** Optional extra attributes. */ attributes?: Record; } export interface ExportGraph { nodes: ExportNode[]; edges: ExportEdge[]; } /** * Emits a standards-compliant GraphML document. Attribute keys are * auto-declared from the union of `attributes` seen on nodes and edges. */ export declare function toGraphML(graph: ExportGraph): string; /** * Emits a Mermaid `flowchart LR` block. Ids are sanitised for Mermaid's * identifier grammar; original ids are preserved as node labels. */ export declare function toMermaid(graph: ExportGraph, opts?: { direction?: 'LR' | 'TD'; }): string; /** * Emits a Cypher script that creates every node + edge in the graph. * Node labels default to `File`; edge relationship type to `IMPORTS`. * Both can be overridden via `opts`. */ export declare function toCypher(graph: ExportGraph, opts?: { nodeLabel?: string; relationshipType?: string; }): string; //# sourceMappingURL=exporters.d.ts.map