export declare function stringToStream(str: string): ReadableStream; export declare function streamToBytes(stream: ReadableStream): Promise; export declare function bytesToStream(bytes: Uint8Array): ReadableStream; export declare function concatUint8Array(chunks: readonly Uint8Array[]): Uint8Array; export declare function batchReadableStream(input: ReadableStream): ReadableStream; export declare function produceMultiplexedStream(fn: (callback: (key: string, stream: ReadableStream) => Promise) => Promise): ReadableStream; export declare function consumeMultiplexedStream(frameStream: ReadableStream, callback: (key: string, stream: ReadableStream) => Promise): Promise;