/** * Browser-friendly streaming CSV parser. * * Adapted from mafintosh/csv-parser's parsing approach, * but implemented with Web Streams for modern runtimes. * * @module */ export interface CsvParseStreamOptions { separator?: string; quote?: string; escape?: string; headers?: Array | false | null; skipFirstRow?: boolean; skipComments?: boolean | string; skipLines?: number; strict?: boolean; mapHeaders?: (args: { header: string; index: number; }) => string | null; mapValues?: (args: { header: string | undefined; index: number; value: string; }) => string; } /** * TransformStream-like wrapper for CSV parsing. * * Exposes `writable` + `readable` so it can be used directly in `pipeThrough`. */ export declare class CsvParseStream { readonly readable: ReadableStream>; readonly writable: WritableStream; constructor(opts?: CsvParseStreamOptions); } //# sourceMappingURL=csv-parse-stream.d.ts.map