import type { RunRow } from "./rows.js"; import type { TableProjection } from "./views/tableState.js"; export type CsvRow = Record; export declare function exportCsv(rows: CsvRow[], now: Date): { path: string; content: string; }; /** The `--csv` shape: every run, newest first, no grouping. */ export declare function csvRowsFromRuns(rows: RunRow[]): CsvRow[]; /** The interactive shape: projection order, group headers as their own * rows, and members listed under their header whether or not the group * is expanded on screen (expanded members are not repeated). */ export declare function csvRowsFromProjection(projection: TableProjection, allRows: RunRow[]): CsvRow[];