import type { AiModelPort, GetModelOptions } from '../ports/ai-model-port'; import type { Logger } from '../ports/logger-port'; import type { BaseChatModel, McpServerLoadFailure, RemoteTool, ToolConfig } from '@forestadmin/ai-proxy'; export interface ServerAiAdapterOptions { forestServerUrl: string; envSecret: string; logger?: Logger; } export default class ServerAiAdapter implements AiModelPort { private readonly options; private readonly aiProxyLogger?; private readonly aiClient; constructor(options: ServerAiAdapterOptions); getModel({ userId }?: GetModelOptions): BaseChatModel; loadRemoteTools(configs: Record): Promise; loadRemoteToolsWithFailures(configs: Record): Promise<{ tools: RemoteTool[]; failures: McpServerLoadFailure[]; }>; closeConnections(): Promise; private static buildProxyConfiguration; private callPort; } //# sourceMappingURL=server-ai-adapter.d.ts.map