import type { ModelDefinition } from './registry-types.js'; export declare function getProviderLookupCandidates(providerName: string, aliases: Readonly>): string[]; export declare function findModelDefinition(modelId: string, registry: readonly ModelDefinition[]): ModelDefinition | undefined; export declare function findModelDefinitionForProvider(modelId: string, providerName: string, registry: readonly ModelDefinition[], aliases: Readonly>): ModelDefinition | undefined; export declare function buildModelRegistry(input: { readonly customModels: readonly ModelDefinition[]; readonly runtimeModels: readonly ModelDefinition[]; readonly syntheticModels: readonly ModelDefinition[]; readonly catalogModels: readonly ModelDefinition[]; readonly discoveredModels: readonly ModelDefinition[]; readonly suppressedCatalogRegistryKeys: ReadonlySet; /** * Models sourced directly from a provider's own live/dated-static model * source (see `live-model-discovery.ts`) rather than the shared * third-party catalog. Takes priority over `catalogModels` for the same * registryKey, the provider's own truth beats a third-party snapshot * that may lag behind, but only fills gaps: an entry already present in * `catalogModels` keeps the richer catalog-sourced definition (pricing, * measured context window, etc). */ readonly providerNativeModels?: readonly ModelDefinition[] | undefined; }): ModelDefinition[]; export interface CustomModelDiff { readonly added: string[]; readonly removed: string[]; readonly updated: string[]; /** One warning per custom model whose registryKey collides with a catalog model. */ readonly collisionWarnings: string[]; } /** * Compute the added/removed/updated diff between a previous and next set of * custom models, plus catalog-collision warnings. Extracted from * ProviderRegistry.loadCustomProviders() so that method stays a thin * orchestration wrapper. */ export declare function diffCustomModels(previousModels: readonly ModelDefinition[], nextModels: readonly ModelDefinition[], catalogModels: readonly ModelDefinition[]): CustomModelDiff; //# sourceMappingURL=registry-models.d.ts.map