import { c as LLMProvider, C as ChatRequest, b as ChatStreamEvent } from '../types-DoR5SjPD.js'; import '../agent-runner-BUO0BF7i.js'; import '../types-DJHPGJSX.js'; import '../memory/index.js'; import '../traces/index.js'; interface OpenAIProviderConfig { apiKey: string; endpoint?: string; model: string; temperature?: number; maxTokens?: number; timeoutMs?: number; } interface GatewayProviderConfig { gatewayUrl: string; accessToken: string; model?: string; keySource?: 'platform' | 'tenant_owned'; tenantKeyId?: string; temperature?: number; maxTokens?: number; timeoutMs?: number; } interface ProviderFactoryConfig { type: 'openai' | 'gateway' | 'direct'; gatewayUrl?: string; accessToken?: string; apiKey?: string; endpoint?: string; model?: string; keySource?: 'platform' | 'tenant_owned'; tenantKeyId?: string; temperature?: number; maxTokens?: number; timeoutMs?: number; } declare class OpenAIProvider implements LLMProvider { private config; /** Model the provider is configured with (used by AgentLoop when no explicit ctx.model) */ get model(): string | undefined; constructor(config: OpenAIProviderConfig); chatStream(request: ChatRequest, signal?: AbortSignal): AsyncGenerator; } declare class GatewayProvider implements LLMProvider { private config; /** Model the provider is configured with (used by AgentLoop when no explicit ctx.model) */ get model(): string | undefined; constructor(config: GatewayProviderConfig); chatStream(request: ChatRequest, signal?: AbortSignal): AsyncGenerator; } declare function createLLMProvider(config: ProviderFactoryConfig): LLMProvider; export { GatewayProvider, type GatewayProviderConfig, OpenAIProvider, type OpenAIProviderConfig, type ProviderFactoryConfig, createLLMProvider };