import { ChatModelStreamHandle, InterruptPayload, ProtocolEvent } from "../stream/types.cjs"; import { LifecycleEntry } from "../stream/transformers/types.cjs"; import { GraphRunStream, SubgraphRunStream } from "../stream/run-stream.cjs"; import { Client, ThreadStream } from "@langchain/langgraph-sdk"; //#region src/pregel/remote-run-stream.d.ts /** * Adapts the SDK's remote ThreadStream to the local GraphRunStream shape. */ declare class RemoteGraphRunStream, TExtensions extends Record = Record> extends GraphRunStream { #private; constructor(params: { client: Client; thread: ThreadStream; runId?: string; abortController?: AbortController; }); [Symbol.asyncIterator](): AsyncIterator; get subgraphs(): AsyncIterable; get values(): AsyncIterable & PromiseLike; get messages(): AsyncIterable; get lifecycle(): AsyncIterable; messagesFrom(node: string): AsyncIterable; get output(): Promise; get interrupted(): boolean; get interrupts(): readonly InterruptPayload[]; abort(reason?: unknown): void; get signal(): AbortSignal; get thread(): ThreadStream; } //#endregion export { RemoteGraphRunStream }; //# sourceMappingURL=remote-run-stream.d.cts.map