/** * Convert a readable stream to an array * @param stream - The readable stream to convert * @returns The array of values */ declare function convertReadableStreamToArray(stream: ReadableStream): Promise; /** * Convert an array to an async iterable * @param values - The array to convert * @returns The async iterable */ declare function convertArrayToAsyncIterable(values: T[]): AsyncIterable; /** * Convert an async iterable to an array * @param iterable - The async iterable to convert * @returns The array of values */ declare function convertAsyncIterableToArray(iterable: AsyncIterable): Promise; /** * Convert an array to a readable stream * @param values - The array to convert * @returns The readable stream */ declare function convertArrayToReadableStream(values: T[]): ReadableStream; /** * Convert a response stream to an array * @param response - The response to convert * @returns The array of values */ declare function convertResponseStreamToArray(response: Response): Promise; export { convertArrayToAsyncIterable, convertArrayToReadableStream, convertAsyncIterableToArray, convertReadableStreamToArray, convertResponseStreamToArray };