import { DEFAULT_DELIMITER, DEFAULT_QUOTATION } from '../../core/constants'; import { CSVBinary, ParseBinaryOptions, ParseOptions } from '../../core/types'; /** * Message to send to worker. * * @internal */ export interface WorkerMessage { id: number; type: string; data: string | CSVBinary | ReadableStream; options?: Record | undefined; useWASM?: boolean | undefined; } /** * Send a message to worker and receive streaming response. * Handles abort signals, cleanup, and error handling. * * @internal */ export declare function sendWorkerMessage = readonly string[], Delimiter extends string = DEFAULT_DELIMITER, Quotation extends string = DEFAULT_QUOTATION>(worker: Worker, message: WorkerMessage, options?: ParseOptions | ParseBinaryOptions, transfer?: Transferable[]): AsyncIterableIterator;