/** * Stream to byte array conversion. * * Consumes a ReadableStream and concatenates all chunks into a single Uint8Array. * * @module */ /** * Consume a ReadableStream and return all data as a single Uint8Array. * * Reads all chunks from the stream and concatenates them. * The stream will be fully consumed after this function returns. * * @param stream - The stream to consume. * @returns A Promise resolving to the concatenated bytes. */ export declare function streamToBytes(stream: ReadableStream>): Promise>; //# sourceMappingURL=stream-to-bytes.d.ts.map