import type { Span } from '../../types-hoist/span';
import type { GoogleGenAIResponse } from './types';
/**
 * Instruments an async iterable stream of Google GenAI response chunks, updates the span with
 * streaming attributes and (optionally) the aggregated output text, and yields
 * each chunk from the input stream unchanged.
 */
export declare function instrumentStream(stream: AsyncIterable<GoogleGenAIResponse>, span: Span, recordOutputs: boolean): AsyncGenerator<GoogleGenAIResponse, void, unknown>;
//# sourceMappingURL=streaming.d.ts.map