/**
 * Brain graph export functionality — GEXF (Gephi standard) and JSON formats.
 *
 * Exports brain_page_nodes and brain_page_edges as:
 * - GEXF XML: Gephi-compatible graph interchange format with attributes
 * - JSON: Flat array representation for tooling integration
 *
 * @task T626-M6
 * @epic T626
 */
import type { BrainPageEdgeRow, BrainPageNodeRow } from '../store/brain-schema.js';
/**
 * GEXF export result with XML content.
 */
export interface BrainExportGexfResult {
    success: boolean;
    format: 'gexf';
    nodeCount: number;
    edgeCount: number;
    content: string;
    generatedAt: string;
}
/**
 * JSON export result with nodes and edges arrays.
 */
export interface BrainExportJsonResult {
    success: boolean;
    format: 'json';
    nodeCount: number;
    edgeCount: number;
    nodes: BrainPageNodeRow[];
    edges: BrainPageEdgeRow[];
    generatedAt: string;
}
export type BrainExportResult = BrainExportGexfResult | BrainExportJsonResult;
/**
 * Export brain graph as GEXF XML (Gephi standard format).
 *
 * Generates a valid GEXF 1.3 document with:
 * - Node elements with attributes (type, quality, label)
 * - Edge elements with weight and provenance
 * - Static, directed graph
 *
 * @param projectRoot - Root directory of the CLEO project
 * @returns GEXF XML export result
 *
 * @example
 * ```ts
 * const result = await exportBrainAsGexf('/path/to/project');
 * console.log(result.content); // Valid XML for import into Gephi
 * ```
 */
export declare function exportBrainAsGexf(projectRoot: string): Promise<BrainExportGexfResult>;
/**
 * Export brain graph as JSON.
 *
 * Outputs nodes and edges as flat arrays for programmatic processing.
 * Suitable for visualization libraries and data integration.
 *
 * @param projectRoot - Root directory of the CLEO project
 * @returns JSON export result with nodes and edges arrays
 *
 * @example
 * ```ts
 * const result = await exportBrainAsJson('/path/to/project');
 * console.log(JSON.stringify(result, null, 2)); // Pretty-printed JSON
 * ```
 */
export declare function exportBrainAsJson(projectRoot: string): Promise<BrainExportJsonResult>;
//# sourceMappingURL=brain-export.d.ts.map