import { DEFAULT_DELIMITER, DEFAULT_QUOTATION } from '../../core/constants'; import { CSVBinary, ParseBinaryOptions, ParseOptions } from '../../core/types'; import { InternalEngineConfig } from '../config/InternalEngineConfig'; import { WorkerStrategy } from './WorkerStrategy'; import { WorkerSession } from '../../worker/helpers/WorkerSession'; /** * Message-based streaming strategy. * * Records are sent one-by-one via postMessage. * This is the current implementation and works on all browsers including Safari. * * @internal */ export declare class MessageStreamingStrategy implements WorkerStrategy { readonly name = "message-streaming"; execute = readonly string[], Delimiter extends string = DEFAULT_DELIMITER, Quotation extends string = DEFAULT_QUOTATION>(input: string | CSVBinary | ReadableStream, options: ParseOptions | ParseBinaryOptions | undefined, session: WorkerSession | null, engineConfig: InternalEngineConfig): AsyncIterableIterator; }