export interface NormalizeModelOptions { preserveCustomModels?: boolean; acceptsCustomModels?: boolean; } export interface ModelEngineConfig { name: string; label?: string; defaultModel: string; supportedModels: readonly string[]; /** Models currently offered in the picker, which may be a user-selected subset. */ selectableModels?: readonly string[]; acceptsCustomModels?: boolean; preserveCustomModels?: boolean; } export declare function findLatestSupportedVersionMatch(candidate: string, supportedModels: readonly string[]): string | undefined; export declare function upgradeBuilderModelAlias(candidate: string, supportedModels: readonly string[]): string | undefined; export declare function isNewerVersionedModel(candidate: string, newerModel: string): boolean; export declare function upgradeModelToLatestSupportedVersion(candidate: string, supportedModels: readonly string[]): string | undefined; export declare function upgradeModelForProvider(candidate: string, supportedModels: readonly string[], provider: string): string | undefined; export declare function normalizeModelForEngine(engine: ModelEngineConfig, model: string | null | undefined, options?: NormalizeModelOptions): string; export declare function getModelOptionLabel(model: string, engine?: ModelEngineConfig, builderFallbackLabel?: string): string; export declare function getBuilderModelOptionLabel(model: string, builderFallbackLabel?: string): string;