import { type GatewayProviderManifest } from "@cline/shared"; import type { ModelCollection } from "../catalog/types"; import type { BuiltinSpec, ProviderApiLine } from "./builtin-types"; export declare const DEFAULT_INTERNAL_OCA_BASE_URL = "https://code-internal.aiservice.us-chicago-1.oci.oraclecloud.com/20250206/app/litellm"; export declare const DEFAULT_EXTERNAL_OCA_BASE_URL = "https://code.aiservice.us-chicago-1.oci.oraclecloud.com/20250206/app/litellm"; /** * Context window requested from Ollama when neither the resolved model nor * the user's configuration supplies one. Matches the pre-SDK-migration * handler default; deliberately larger than Ollama's 4096 server default, * which cannot fit Cline's agentic prompts. Single source of truth — the * vendor, the VS Code session factory, and the settings UI all import this. */ export declare const OLLAMA_DEFAULT_CONTEXT_WINDOW = 32768; export type { BuiltinSpec, ProviderApiLine, ProviderFamily, } from "./builtin-types"; export declare const BUILTIN_SPECS: BuiltinSpec[]; export declare function isProviderApiLine(value: unknown): value is ProviderApiLine; /** * Resolve the regional base URL for a provider's selected API line (e.g. * Qwen/Moonshot/Z.AI/MiniMax "china" vs "international" endpoints). Returns * undefined when the provider has no regional endpoints or the api line is * not a recognized value. Callers must let an explicit user-configured base * URL win over this resolution. */ export declare function resolveProviderApiLineBaseUrl(providerId: string, apiLine: unknown): string | undefined; export declare function toManifest(spec: BuiltinSpec): GatewayProviderManifest; /** Static manifests used for synchronous capability checks before providers load. */ export declare const BUILTIN_PROVIDER_MANIFESTS_BY_ID: Readonly>; export declare const BUILTIN_PROVIDER_COLLECTION_LIST: ModelCollection[]; export declare const BUILTIN_PROVIDER_COLLECTIONS_BY_ID: Record; //# sourceMappingURL=builtins.d.ts.map