import { A as ToolResultMessage, C as TextContent, E as ThinkingLevel, M as Usage, N as UserMessage, O as Tool, S as StreamOptions, T as ThinkingContent, _ as ProviderStreamOptions, a as AssistantMessageEventStreamContract, c as Context, d as Message, f as Model, g as ProviderResponse, i as AssistantMessageEvent, k as ToolCall, l as ImageContent, n as Api, o as CacheRetention, p as ModelThinkingLevel, r as AssistantMessage, v as SimpleStreamOptions, w as ThinkingBudgets, x as StreamFunction, y as StopReason } from "./types-CFIUY_La.js"; import { a as createAssistantMessageEventStream, n as validateToolCall, r as AssistantMessageEventStream, t as validateToolArguments } from "./validation-B7yUjV8R.js"; import { i as streamSimple, n as completeSimple, r as stream, t as complete } from "./stream-C62LZX2q.js"; import { adjustMaxTokensForThinking, buildBaseOptions, clampReasoning, transformMessages } from "@openclaw/ai/internal/shared"; import { calculateCost, clampThinkingLevel, getApiProvider, getApiProviders, getEnvApiKey, parseStreamingJson, registerApiProvider, sanitizeSurrogates, unregisterApiProviders } from "@openclaw/ai/internal/runtime"; import { ApiProvider } from "@openclaw/ai"; import { Agent } from "node:http"; import { Agent as Agent$1 } from "node:https"; //#region src/llm/utils/node-http-proxy.d.ts /** HTTP(S) agent pair for Node fetch/client integrations that accept explicit agents. */ interface NodeHttpProxyAgents { httpAgent: Agent; httpsAgent: Agent$1; } /** Builds fixed HTTP and HTTPS proxy agents for a target URL, when env proxy config applies. */ declare function createHttpProxyAgentsForTarget(targetUrl: string | URL): NodeHttpProxyAgents | undefined; //#endregion export { type Api, type ApiProvider, type AssistantMessage, type AssistantMessageEvent, AssistantMessageEventStream, type AssistantMessageEventStreamContract, type CacheRetention, type Context, type ImageContent, type Message, type Model, type ModelThinkingLevel, type ProviderResponse, type ProviderStreamOptions, type SimpleStreamOptions, type StopReason, type StreamFunction, type StreamOptions, type TextContent, type ThinkingBudgets, type ThinkingContent, type ThinkingLevel, type Tool, type ToolCall, type ToolResultMessage, type Usage, type UserMessage, adjustMaxTokensForThinking, buildBaseOptions, calculateCost, clampReasoning, clampThinkingLevel, complete, completeSimple, createAssistantMessageEventStream, createHttpProxyAgentsForTarget, getApiProvider, getApiProviders, getEnvApiKey, parseStreamingJson, registerApiProvider, sanitizeSurrogates, stream, streamSimple, transformMessages, unregisterApiProviders, validateToolArguments, validateToolCall };