/**
 * Behavioural contract for `coalesce()` (ses_001-tool-stream-events phase 1A):
 *
 * - `text_delta` events for the same `messageId` within the configured
 *   `windowMs` are merged into a single event whose `text` is the
 *   concatenation in arrival order.
 * - `tool_input_delta` events for the same `toolUseId` within the window
 *   are merged the same way on `partialJson`.
 * - Any other event flushes pending buffers first, preserving overall
 *   stream ordering.
 * - End-of-stream flushes any remaining buffers.
 * - Different `messageId`s and `toolUseId`s never merge with each other.
 *
 * The coalescer is opt-in for slow downstream consumers (SSE adapters);
 * the orchestrator emits raw deltas. A 16ms default roughly aligns with
 * one 60fps animation frame.
 */
export {};
//# sourceMappingURL=coalesce.test.d.ts.map