/** * ModelCatalog — class-based wrapper around the model selection functions. * * Encapsulates model choice listing, runtime model discovery, gateway * auto-selection, model selection resolution, formatting, custom model * config parsing, and context-window resolution. The underlying * implementations live in `model-catalog.ts`; this class delegates to them, * giving callers a clean interface boundary. * * @public */ import { type ModelChoice, type ModelChoiceList, type CustomModelConfigParseResult } from './model-catalog.js'; import type { CliProviderPreset, ResolvedCliConfig } from './config.js'; export declare class ModelCatalog { commonModelChoices(provider: CliProviderPreset, currentModel?: string, options?: { usingBundledDefault?: boolean; configModel?: string; }): ModelChoice[]; loadModelChoicesForRuntime(config?: Partial, currentModel?: string, options?: { fallbackProvider?: string; timeoutMs?: number; fetchImpl?: typeof fetch; }): Promise; autoSelectGatewayModel(config: Partial, options?: { timeoutMs?: number; fetchImpl?: typeof fetch; env?: NodeJS.ProcessEnv; }): Promise; resolveModelSelection(input: string, choices: readonly ModelChoice[]): ModelChoice | null; formatModelChoices(list: ModelChoiceList): string; describeModelListSource(list: ModelChoiceList): string; parseCustomModelConfigInput(input: string): CustomModelConfigParseResult; formatCustomModelConfigInstructions(configPath?: string): string; resolveModelContextWindowFromApi(params: { baseUrl?: string; apiKey?: string; model: string; provider?: string; fetchImpl?: typeof fetch; timeoutMs?: number; }): Promise; resolveContextTokensForModel(params: { model: string; baseUrl?: string; apiKey?: string; provider?: string; explicitOverride?: number; fetchImpl?: typeof fetch; timeoutMs?: number; }): Promise<{ contextTokens: number; source: string; }>; } //# sourceMappingURL=model-catalog-manager.d.ts.map