/** * LangGraph REST Connector * Handles non-streaming REST calls to LangGraph agents * * For AG-UI streaming LangGraph agents, use the existing agui-streaming connector. * This connector is for LangGraph instances exposed via direct REST API. */ import type { TrajectoryStep } from '../../../types/index.js'; import { BaseConnector } from '../../../services/connectors/base/BaseConnector.js'; import type { ConnectorAuth, ConnectorRequest, ConnectorResponse, ConnectorProgressCallback, ConnectorRawEventCallback } from '../../../services/connectors/types.js'; /** * LangGraph REST Connector * * Communicates with LangGraph agents via the LangGraph REST API. * Uses the /invoke endpoint for synchronous execution. * For streaming LangGraph agents, use the agui-streaming connector instead. * * Configuration: * - endpoint: Base URL of the LangGraph server (e.g., "http://localhost:8123") * - connectorConfig.graphId: Graph/assistant ID (defaults to "agent") * - connectorConfig.threadId: Optional thread ID for multi-turn */ export declare class LangGraphConnector extends BaseConnector { readonly type: "langgraph"; readonly name = "LangGraph (REST)"; traceContext: { propagateHeader: boolean; }; readonly supportsStreaming = false; buildPayload(request: ConnectorRequest): any; execute(endpoint: string, request: ConnectorRequest, auth: ConnectorAuth, onProgress?: ConnectorProgressCallback, onRawEvent?: ConnectorRawEventCallback): Promise; parseResponse(data: any): TrajectoryStep[]; healthCheck(endpoint: string, auth: ConnectorAuth): Promise; } export declare const langgraphConnector: LangGraphConnector; //# sourceMappingURL=LangGraphConnector.d.ts.map