import { type BundledCatalogModelInput } from "./resolveBundledCatalogModel.js"; import type { ProfileCatalogLane, ResolveAIProfileOptions, ResolveCatalogModelOptions, ResolvedAIProfile } from "./types.js"; export type ResolveInput = BundledCatalogModelInput; /** * Async unified resolver options. * * Profile resolution requires `catalogLane`. Concrete catalog / identity * resolution does not. */ export interface ResolveInputOptions extends Omit, ResolveCatalogModelOptions { /** Required when `input` is a known `profile/choice`. */ catalogLane?: ProfileCatalogLane; } /** * Unified async resolver (bundled or remote). * * **Resolution order:** * 1. **Profile + choice** — known `profile/choice` in the loaded registry → * {@link resolveAIProfile} (requires `catalogLane`). * 2. **Concrete model** — vendor slug, gateway wire id, or `{ provider, modelId }` → * {@link resolveCatalogModel}. * * On miss → clear failure (`UNKNOWN_MODEL` / profile errors). Does not invent a * provider from a profile key (e.g. `cheap/default` never becomes `provider: "cheap"`). * * With `source: "bundled"`, behavior matches {@link resolveBundledInput}. */ export declare function resolveInput(input: ResolveInput, options?: ResolveInputOptions): Promise; //# sourceMappingURL=resolveInput.d.ts.map