/** * RFC 4180 CSV parser * * State-machine parser. Handles quoted fields containing commas, escaped * double-quotes, multiline fields, CRLF/LF, and UTF-8 BOM. */ import type { RawRecord } from '../../types.js'; /** * Parse raw CSV text into rows of fields. * Handles quoted fields (including commas and newlines inside quotes), * escaped double-quotes (`""`), CRLF and LF line endings, and UTF-8 BOM. */ export declare function parseRows(text: string): string[][]; export declare function parseCSV(text: string): { contacts: RawRecord[]; headers: string[]; errors: string[]; };