/** * NEXUS GEXF export utilities. * * Generates GEXF (Gephi Graph Exchange XML Format) from nexus graph nodes and * relations. Supports node attributes, edge weights (confidence), and color * coding by node kind. * * @task T1473 */ /** * Escape XML special characters. * * @param str - Input string to escape. * @returns XML-safe string. * * @example * escapeXml('') // '<foo>' */ export declare function escapeXml(str: string): string; /** * Convert hex color to RGB object. * * @param hex - Hex color string (e.g. '#3498db' or '3498db'). * @returns RGB components. * * @example * hexToRgb('#3498db') // { r: 52, g: 152, b: 219 } */ export declare function hexToRgb(hex: string): { r: number; g: number; b: number; }; /** * Generate GEXF (Gephi Graph Exchange XML Format) from nodes and relations. * * @param nodes - Array of nexus nodes (plain record objects from DB). * @param relations - Array of nexus relations (plain record objects from DB). * @returns GEXF XML string ready for Gephi or other graph tools. * * @example * const xml = generateGexf(nodes, relations); * writeFileSync('graph.gexf', xml); */ export declare function generateGexf(nodes: Array>, relations: Array>): string; //# sourceMappingURL=gexf-export.d.ts.map