import type { AgentStreamChunk, PendingInterrupt } from "../domain/turnTypes.js"; /** * Normalize raw LangGraph interrupt object(s) into provider-agnostic descriptors. * Kept in the llm layer so the LangGraph interrupt shape never reaches the app. */ export declare function normalizeInterrupts(interrupt: unknown): PendingInterrupt[]; type RawStreamEntry = ["messages", [any, any]] | ["updates", Record]; /** * Convert one raw LangGraph stream entry into zero or more normalized chunks. * Pure and synchronous so the parsing rules can be unit-tested in isolation. */ export declare function parseRawStreamChunk(entry: RawStreamEntry): AgentStreamChunk[]; /** * Adapt the raw LangGraph `["messages" | "updates", ...]` stream into a typed * `AgentStreamChunk` stream for the application layer. */ export declare function adaptRawStream(raw: AsyncIterable): AsyncGenerator; export {};