/** * Adapter for LangChain-based agents * Wraps the LangChain agent to implement IUniversalAgent interface */ import { IUniversalAgent } from "../types"; /** * Configuration for LangChain Adapter */ export interface LangChainAdapterConfig { /** * The LangChain agent instance */ agent: any; /** * Agent configuration (thread_id, etc.) */ config: any; /** * Optional metadata */ metadata?: { name?: string; description?: string; version?: string; }; } /** * LangChain Adapter * Adapts LangChain-based agents to the universal interface */ export declare class LangChainAdapter implements IUniversalAgent { private agent; private config; private metadata; private messageHistory; constructor(config: LangChainAdapterConfig); /** * Send a message to the agent and get a response */ sendMessage(message: string): Promise; /** * Reset the agent's conversation state * Note: LangChain agents with MemorySaver maintain state * This creates a new thread ID for a fresh conversation */ reset(): Promise; /** * Get agent metadata */ getMetadata(): { name: string; description: string; framework: string; version: string; }; /** * Cleanup resources */ cleanup(): Promise; } //# sourceMappingURL=cdp-agentkit-adapter.d.ts.map