import { t as PluginManifestRecord } from "./manifest-registry-DuXlHP4W.js";

//#region src/agents/model-selection-normalize.d.ts
type ModelRef = {
  provider: string;
  model: string;
};
type ModelManifestNormalizationContext = {
  manifestPlugins?: readonly Pick<PluginManifestRecord, "modelIdNormalization">[];
};
declare function modelKey(provider: string, model: string): string;
declare function legacyModelKey(provider: string, model: string): string | null;
declare function normalizeProviderId(provider: string): string;
declare function normalizeProviderIdForAuth(provider: string): string;
declare function findNormalizedProviderValue<T>(entries: Record<string, T> | undefined, provider: string): T | undefined;
declare function findNormalizedProviderKey(entries: Record<string, unknown> | undefined, provider: string): string | undefined;
type ModelRefNormalizeOptions = ModelManifestNormalizationContext & {
  allowManifestNormalization?: boolean;
  allowPluginNormalization?: boolean;
};
declare function normalizeModelRef(provider: string, model: string, options?: ModelRefNormalizeOptions): ModelRef;
type ParseModelRefOptions = ModelRefNormalizeOptions;
declare function parseModelRef(raw: string, defaultProvider: string, options?: ParseModelRefOptions): ModelRef | null;
//#endregion
export { legacyModelKey as a, normalizeProviderId as c, findNormalizedProviderValue as i, normalizeProviderIdForAuth as l, ModelRef as n, modelKey as o, findNormalizedProviderKey as r, normalizeModelRef as s, ModelManifestNormalizationContext as t, parseModelRef as u };