/** * kosha-discovery — Moonshot/Kimi provider discoverer. * * Moonshot (Kimi) exposes an OpenAI-compatible API on two independent hosts: * `api.moonshot.ai` for international accounts and `api.moonshot.cn` for * mainland China. They take different keys and publish different prices for * the same model IDs, so kosha treats them as two providers (`moonshot` and * `moonshot-cn`) sharing one classifier — collapsing them would make a model's * price depend on which host answered last. * @module */ import type { OpenAICompatibleModel, ModelClassification } from "./openai-compatible.js"; import { OpenAICompatibleDiscoverer } from "./openai-compatible.js"; export declare class MoonshotDiscoverer extends OpenAICompatibleDiscoverer { readonly providerId: string; readonly providerName: string; readonly baseUrl: string; /** * @param region - `"global"` targets `api.moonshot.ai`; `"cn"` targets * `api.moonshot.cn` under the `moonshot-cn` provider ID. */ constructor(region?: "global" | "cn"); protected isRelevantModel(model: OpenAICompatibleModel): boolean; protected classifyModel(model: OpenAICompatibleModel): ModelClassification; } //# sourceMappingURL=moonshot.d.ts.map