import { PromptTemplate } from '@langchain/core/prompts'; import { MemorySaver } from '@langchain/langgraph'; import type { StructuredToolInterface } from '@langchain/core/tools'; import type { BaseChatModel } from '@langchain/core/language_models/chat_models'; import type { RunnableConfig } from '@langchain/core/runnables'; import type { ChatModel } from './state.js'; export declare const MAX_ITERATIONS = 15; export declare function formatPrompt(template: PromptTemplate, variables: Record): Promise; export declare function isAgentRunnable(x: unknown): x is { invoke: (input: unknown, config?: RunnableConfig) => Promise; }; export declare function ensureBaseChatModel(chat: ChatModel): BaseChatModel; export declare function buildAgent(llm: BaseChatModel, tools: StructuredToolInterface[], saver?: MemorySaver, prompt?: string): Promise; }>, import("@langchain/langgraph").UpdateType<{ messages: import("@langchain/langgraph").BinaryOperatorAggregate; }>, any, { messages: import("@langchain/langgraph").BinaryOperatorAggregate; }, { messages: import("@langchain/langgraph").BinaryOperatorAggregate; structuredResponse: { (): import("@langchain/langgraph").LastValue>; (annotation: import("@langchain/langgraph").SingleReducer, Record>): import("@langchain/langgraph").BinaryOperatorAggregate, Record>; Root: (sd: S) => import("@langchain/langgraph").AnnotationRoot; }; } & { messages: import("@langchain/langgraph").BinaryOperatorAggregate; }, import("@langchain/langgraph").StateDefinition>>; export declare function invokeAgent(agent: unknown, userInput: string, config: RunnableConfig): Promise; export declare function extractFeedback(output: string): string; //# sourceMappingURL=utils.d.ts.map