@langchain/langgraph-sdk
Version:
Client library for interacting with the LangGraph API
11 lines • 402 B
TypeScript
//#region src/utils/sse.d.ts
declare function BytesLineDecoder(): TransformStream<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>;
interface StreamPart {
id: string | undefined;
event: string;
data: unknown;
}
declare function SSEDecoder(): TransformStream<Uint8Array<ArrayBufferLike>, StreamPart>;
//#endregion
export { BytesLineDecoder, SSEDecoder };
//# sourceMappingURL=sse.d.ts.map