import { L as LLMProvider, C as ChatRequest, m as ChatResponse } from '../AgentSwarm-TLYCGpA9.js'; export { A as Agent, f as AgentConfig, G as AgentError, D as AgentExecutionEvent, a as AgentExecutor, Q as AgentRole, o as AgentState, w as AgentStepEvent, b as AgentSwarm, B as ErrorEvent, E as ExecutionConfig, i as ExecutionResult, r as ExecutionTrace, F as FinalAnswerEvent, J as LLMError, K as MaxStepsExceededError, M as Message, R as SpecialistAgent, V as SpecialistResult, v as StreamCallback, u as StreamEvent, t as StreamEventType, S as StreamingAgentExecutor, j as StreamingExecutionConfig, k as StreamingExecutionResult, W as SwarmConfig, l as SwarmEvents, X as SwarmResult, U as TaskRoutingDecision, x as ThoughtEvent, g as ToolCall, y as ToolCallEvent, T as ToolDefinition, H as ToolExecutionError, n as ToolParameterSchema, N as ToolParams, P as ToolRegistry, h as ToolResult, z as ToolResultEvent, O as ToolResultType, I as ToolValidationError, q as TraceEvent, p as TraceEventType, c as createAgent, d as createAgentSwarm, e as executeAgent, s as streamAgentExecution } from '../AgentSwarm-TLYCGpA9.js'; import 'events'; import 'zod'; /** * OpenAI LLM Provider * * Integration with OpenAI's chat completion API */ /** * OpenAI-specific configuration */ interface OpenAIConfig { apiKey: string; model: string; baseUrl?: string; organization?: string; temperature?: number; maxTokens?: number; topP?: number; } /** * OpenAI provider implementation */ declare class OpenAIProvider extends LLMProvider { private apiKey; private baseUrl; private model; constructor(config: OpenAIConfig); /** * Send chat request to OpenAI */ chat(request: ChatRequest): Promise; /** * Stream chat completion */ private streamChat; /** * Parse OpenAI response */ private parseResponse; /** * Convert messages to OpenAI format */ private convertMessages; /** * Convert tools to OpenAI format */ private convertTools; /** * Parse tool calls from OpenAI response */ private parseToolCalls; /** * Map OpenAI finish reason to standard format */ private mapFinishReason; getProviderName(): string; } /** * Anthropic LLM Provider * * Integration with Anthropic's Claude API */ /** * Anthropic-specific configuration */ interface AnthropicConfig { apiKey: string; model: string; baseUrl?: string; temperature?: number; maxTokens?: number; topP?: number; } /** * Anthropic provider implementation */ declare class AnthropicProvider extends LLMProvider { private apiKey; private baseUrl; private model; constructor(config: AnthropicConfig); /** * Send chat request to Anthropic */ chat(request: ChatRequest): Promise; /** * Stream chat completion */ private streamChat; /** * Parse Anthropic response */ private parseResponse; /** * Convert messages to Anthropic format */ private convertMessages; /** * Convert tools to Anthropic format */ private convertTools; /** * Map Anthropic stop reason to standard format */ private mapStopReason; getProviderName(): string; } export { type AnthropicConfig, AnthropicProvider, ChatRequest, ChatResponse, LLMProvider, type OpenAIConfig, OpenAIProvider };