/** * cli-cmd-model.ts — Pricing-heavy model detail commands. * * Contains `cmdModel`, `cmdResolve`, and `cmdRoutes` — the three commands * that display detailed per-model information including multi-tier pricing * (cache, reasoning, batch, origin). * * Extracted from `cli-commands.ts` to keep each module under 450 LOC. * * @module cli-cmd-model */ import type { ModelRegistry } from "./registry.js"; /** * Show detailed information for a single model identified by id or alias. * * If an exact match is not found, falls back to fuzzy substring search. * Single fuzzy match is shown automatically; multiple matches produce a * disambiguation list (capped at 5 suggestions). * * @param registry The model registry to look up. * @param idOrAlias A model id, display name, or alias. * @param flags CLI flags (supports `--json`). */ export declare function cmdModel(registry: ModelRegistry, idOrAlias: string, flags: Record): Promise; /** * Resolve a model alias to its canonical provider ID. * Unknown aliases are returned as-is with a yellow warning. * * @param registry The model registry containing alias mappings. * @param alias The alias string to resolve. * @param flags CLI flags (supports `--json`). */ export declare function cmdResolve(registry: ModelRegistry, alias: string, flags: Record): Promise; /** * Show every provider route through which a model can be accessed. * * A "route" is a serving-layer entry whose normalized model ID matches the * given identifier. Output includes direct/preferred markers, origin provider, * model version hint, and serving base URL. * * Pricing columns show `—` when data is unavailable. * * @param registry The model registry to query. * @param modelId Canonical model ID or alias to look up. * @param flags CLI flags (supports `--json`). */ export declare function cmdRoutes(registry: ModelRegistry, modelId: string, flags: Record): Promise; //# sourceMappingURL=cli-cmd-model.d.ts.map