import type { ModelStreamEvent } from '../streaming.js'; /** * Helper function to collect all events from a stream. * Useful for testing streaming model responses. * * @param stream - An async iterable of ModelStreamEvent * @returns Promise resolving to an array of all emitted events */ export declare function collectEvents(stream: AsyncIterable): Promise; //# sourceMappingURL=test-utils.d.ts.map