import { CSVRecord, ParseBinaryOptions } from '../../../core/types'; /** * Parse CSV binary using WebAssembly in main thread. * * @internal * @param binary - CSV binary to parse * @param options - Parsing options * @returns Async iterable iterator of records * @throws {RangeError} If the binary size exceeds maxBinarySize limit or charset is not supported. * @throws {TypeError} If the encoded data is not valid for the specified charset. * * @remarks * WASM module is automatically initialized on first use if not already loaded. * However, it is recommended to call {@link loadWASM} beforehand for better performance. * * Converts binary to string then uses WASM parser. * WASM parser has limitations: * - Only supports UTF-8 encoding * - Only supports double-quote (") as quotation character */ export declare function parseBinaryInWASM
>(binary: BufferSource, options?: ParseBinaryOptions
): AsyncIterableIterator>;