import type { ModelSpec } from './types.js'; export interface LiteLLMConfigOptions { /** 用户配置的 BYOK key, 按 provider 分 */ byok_keys: Partial<{ anthropic: string; openai: string; deepseek: string; kimi: string; qwen: string; doubao: string; }>; /** 排除哪些 provider (e.g. 中国用户排除 OpenAI) */ exclude_providers?: ReadonlyArray; } interface LiteLLMModelEntry { model_name: string; litellm_params: { model: string; api_key: string; api_base?: string; }; } interface LiteLLMConfig { model_list: LiteLLMModelEntry[]; router_settings: { routing_strategy: string; model_group_alias: Record; }; } export declare function generateLiteLLMConfig(opts: LiteLLMConfigOptions): LiteLLMConfig; /** YAML 序列化 (简单版,避免引入 yaml 依赖) */ export declare function configToYaml(cfg: LiteLLMConfig): string; export {}; //# sourceMappingURL=litellm-config.d.ts.map