type ModelLevel = 'level1' | 'level2' | 'level3'; interface ProviderLevelSettings extends Record { defaultLevel?: ModelLevel; maxLevel?: ModelLevel; minLevel?: ModelLevel; } interface SettingsRecord extends Record { maxModel?: string | null; minModel?: string | null; providerSettings?: Record; } declare function validateModelAgainstMax(requestedModel: string | null | undefined, maxModel: string, minModel?: string | null): string; declare function mapLegacyModelToLevel(model: unknown): ModelLevel | null; declare function applyLegacyModelBounds(settings: SettingsRecord): SettingsRecord; declare const _default: { MODEL_HIERARCHY: Readonly>; VALID_MODELS: string[]; validateModelAgainstMax: typeof validateModelAgainstMax; mapLegacyModelToLevel: typeof mapLegacyModelToLevel; applyLegacyModelBounds: typeof applyLegacyModelBounds; }; export = _default;