/**
 * Processes a streaming response from the server, returning a generator that receives chunks of data.
 *
 * @since 0.3.0
 *
 * @param response - The response object.
 * @returns The generator that yields chunks of data.
 */
export default function processStream<T>(response: Response): AsyncGenerator<T, void, void>;
/**
 * Gets a generator that yields chunks of data from a stream.
 *
 * @since 0.3.0
 *
 * @param stream - The stream object.
 * @returns The generator that yields chunks of data.
 */
export declare function getResponseGenerator<T>(stream: ReadableStream<T>): AsyncGenerator<T, void, void>;
//# sourceMappingURL=process-stream.d.ts.map