UNPKG

@langchain/langgraph-sdk

Version:

Client library for interacting with the LangGraph API

19 lines (18 loc) • 455 B
import { ThreadState } from "../schema.cjs"; //#region src/ui/branching.d.ts interface Node<StateType = any> { type: "node"; value: ThreadState<StateType>; path: string[]; } interface Fork<StateType = any> { type: "fork"; items: Array<Sequence<StateType>>; } interface Sequence<StateType = any> { type: "sequence"; items: Array<Node<StateType> | Fork<StateType>>; } //#endregion export { Sequence }; //# sourceMappingURL=branching.d.cts.map