import type { FasedAgentConfig } from "../config/config.js";
type ModelsConfig = NonNullable<FasedAgentConfig["models"]>;
export type ProviderConfig = NonNullable<ModelsConfig["providers"]>[string];
export declare const XIAOMI_BASE_URL = "https://api.xiaomimimo.com/v1";
export declare const XIAOMI_DEFAULT_MODEL_ID = "mimo-v2.5-pro";
export declare const QWEN_DASHSCOPE_BASE_URL = "https://dashscope.aliyuncs.com/compatible-mode/v1";
export declare const QWEN_CODING_PLAN_BASE_URL = "https://coding.dashscope.aliyuncs.com/v1";
export declare const QWEN_DEFAULT_MODEL_ID = "qwen3.6-plus";
export declare const QWEN_DEFAULT_MODEL_REF = "qwen/qwen3.6-plus";
export declare const QWEN_CODING_PLAN_DEFAULT_MODEL_REF = "qwen-coding-plan/qwen3.6-plus";
export declare const QIANFAN_BASE_URL = "https://qianfan.baidubce.com/v2";
export declare const QIANFAN_DEFAULT_MODEL_ID = "ernie-5.1";
export declare const OLLAMA_DEFAULT_BASE_URL = "http://127.0.0.1:11434";
export declare const OLLAMA_DEFAULT_CONTEXT_WINDOW = 128000;
export declare const OLLAMA_DEFAULT_MAX_TOKENS = 8192;
export declare const LMSTUDIO_DEFAULT_BASE_URL = "http://127.0.0.1:1234/v1";
export declare const LMSTUDIO_DEFAULT_CONTEXT_WINDOW = 128000;
export declare const LMSTUDIO_DEFAULT_MAX_TOKENS = 8192;
export declare function resolveOllamaApiBase(value?: string): string;
export declare function resolveLmStudioApiBase(value?: string): string;
export declare function normalizeGoogleModelId(id: string): string;
export declare function normalizeProviders(params: {
    providers: ModelsConfig["providers"];
    agentDir: string;
}): ModelsConfig["providers"];
export declare function buildKimiCodingProvider(): ProviderConfig;
export declare function buildQwenProvider(baseUrl?: string): ProviderConfig;
export declare function buildXiaomiProvider(): ProviderConfig;
export declare function buildNvidiaProvider(): ProviderConfig;
export declare function buildQianfanProvider(): ProviderConfig;
export declare function resolveImplicitProviders(params: {
    agentDir: string;
    explicitProviders?: Record<string, ProviderConfig> | null;
    allowLocalDiscovery?: boolean;
}): Promise<ModelsConfig["providers"]>;
export declare function resolveImplicitCopilotProvider(params: {
    agentDir: string;
    env?: NodeJS.ProcessEnv;
}): Promise<ProviderConfig | null>;
export {};
