/** * CSV Module - Public API * * Pure CSV parsing/formatting functionality with no Excel dependencies. * For CSV-Worksheet integration, use Workbook.readCsv/writeCsv methods instead. * * Design principles: * - Only export types and functions that are part of the PUBLIC API * - Internal utilities (like format helpers) are used internally but not exported * - This reduces bundle size and simplifies the public interface */ export type { HeaderArray, RowHashArray, RowArray, RowMap, Row, HeaderTransformFunction, RowTransformCallback, RowTransformFunction, RowValidateCallback, RowValidateFunction, TransformContext, FormattedValue, TransformResult, TypeTransformMap, DynamicTypingConfig, CastDateConfig, ColumnConfig, CsvErrorCode, CsvRecordError, OnSkipCallback, CsvParseOptions, CsvFormatOptions, CsvParseArrayOptions, CsvParseObjectOptions, ChunkMeta, CsvParseMeta, RecordInfo, RecordWithInfo, CsvParseResult, CsvParseResultWithObjname, ColumnMismatchConfig, ColumnMismatchLess, ColumnMismatchMore } from "./types.js"; export { isFormattedValue, quoted, unquoted } from "./types.js"; export { parseCsv } from "./parse/sync.js"; export { parseCsvAsync, parseCsvRows, parseCsvWithProgress } from "./parse/async.js"; export { formatCsv } from "./format/index.js"; export { CsvParserStream, CsvFormatterStream, createCsvParserStream, createCsvFormatterStream } from "./stream/index.js"; export { detectDelimiter, detectLinebreak, stripBom } from "./utils/detect.js"; export { isRowHashArray, rowHashArrayToValues, rowHashArrayToHeaders, rowHashArrayMapByHeaders, processColumns, deduplicateHeaders, deduplicateHeadersWithRenames } from "./utils/row.js"; export { applyDynamicTyping, applyDynamicTypingToRow } from "./utils/dynamic-typing.js"; export { csvGenerate, csvGenerateRows, csvGenerateAsync, csvGenerateData, createCsvGenerator, type CsvGenerateOptions, type CsvGenerateResult, type ColumnDef, type GeneratorColumnConfig, type BuiltinColumnType, type GeneratorFn, type GeneratorContext, type StopCondition, type StopContext } from "./utils/generate.js"; export { formatNumberForCsv, parseNumberFromCsv, type DecimalSeparator } from "./utils/number.js"; export { CsvError, CsvWorkerError } from "./errors.js";