import { type CellValueReader, type ColumnState, type RowNode } from '../../core/types/index.js'; export type CellMatrix = string[][]; export declare function dataColumns(columns: ColumnState[]): ColumnState[]; /** Unformatted keeps a spreadsheet's number or date; formatted reads as the grid. */ export type ExportFormatter = (context: { value: unknown; node: RowNode; column: ColumnState; }) => string; export declare function rowsToMatrix(nodes: RowNode[], columns: ColumnState[], format?: ExportFormatter, options?: { formatted?: boolean; locale?: string; read?: (column: ColumnState) => CellValueReader | undefined; }): CellMatrix; /** In the order asked for; unknown ids are skipped, not left blank. */ export declare function pickColumns(columns: ColumnState[], ids?: string[]): ColumnState[]; export declare function withHeaderRow(matrix: CellMatrix, columns: ColumnState[]): CellMatrix; export declare function toTsv(matrix: CellMatrix): string; export declare function neutralizeFormula(cell: string): string; export declare const DEFAULT_CSV_DELIMITER = ","; export declare function toCsv(matrix: CellMatrix, delimiter?: string): string; export declare function downloadCsv(csv: string, filename: string): void;