/**
 * Model/provider resolution for Clawx.
 *
 * EXTRACTION NOTE:
 * OpenClaw's model resolution (pi-embedded-runner/model.ts, 398 lines) handles
 * 15+ providers with config overrides, forward-compat fallbacks, OpenRouter pre-fetch,
 * and auth profile rotation. We discard all of that.
 *
 * Instead we use pi-ai's model system directly:
 * - For known providers (openai, anthropic, google): use getModel()
 * - For local/custom endpoints (llama.cpp, ollama, vllm): construct Model manually
 *   with api:"openai-completions" and a custom baseUrl
 *
 * This covers all target models:
 * - Qwen2.5-Coder-14B-Instruct-abliterated (local llama.cpp)
 * - Qwen3.5-35B-A3B (local)
 * - GLM-4.7-Flash-Uncensored (local)
 * - Any OpenAI-compatible endpoint
 */
import type { Api, Model } from "./types.js";
import type { ClawxConfig } from "../types/index.js";
/**
 * Resolve a Model object from Clawx configuration.
 *
 * For local endpoints, we construct a Model with api:"openai-completions"
 * pointed at the custom baseUrl. This is exactly how OpenClaw handles
 * Ollama and local models — via the OpenAI-compatible completions API.
 */
export declare function resolveModel(config: ClawxConfig): Model<Api>;
//# sourceMappingURL=provider.d.ts.map