/** * CSVExporter — Export simulation data as CSV for analysis in MATLAB, Python, Excel. * * Produces well-formed CSV with: * - Header row including unit annotations * - Consistent numeric formatting * - RFC 4180 compliant output */ import type { ConvergenceResult } from '../ConvergenceControl'; /** * Export solver convergence history as CSV. * Columns: iteration, residual_norm, max_change (if available) */ export declare function exportConvergenceHistory(result: ConvergenceResult, options?: { solverName?: string; }): string; export interface ScalarFieldCSVOptions { fieldName?: string; unit?: string; } /** * Export a 3D scalar field as CSV with spatial coordinates. * Columns: x, y, z, value */ export declare function exportScalarFieldCSV(nx: number, ny: number, nz: number, dx: number, dy: number, dz: number, data: Float32Array, options?: ScalarFieldCSVOptions): string; /** * Export arbitrary tabular data as CSV. * Generic utility for material property tables, solver statistics, etc. */ export declare function exportTable(headers: string[], rows: (string | number)[][], options?: { comment?: string; }): string; export interface MaterialRow { name: string; conductivity: number; specific_heat: number; density: number; source: string; } /** * Export material property table as CSV with unit-annotated headers. */ export declare function exportMaterialTable(materials: MaterialRow[]): string; //# sourceMappingURL=CSVExporter.d.ts.map