import type { TranslationModel } from './translation-model.js'; export type TranslationProvider = 'openai' | 'claude'; export declare const DEFAULT_TRANSLATION_PROVIDER: TranslationProvider; export type ResolveTranslationModelOptions = { /** Override the provider; defaults to RELEASE_NOTES_AI_PROVIDER or "openai". */ provider?: string; /** Override the model; defaults to RELEASE_NOTES_AI_MODEL or the provider's default. */ model?: string; }; /** Either a ready-to-use model, or a reason it is unavailable so the caller can skip gracefully. */ export type TranslationModelResolution = { model: TranslationModel; } | { unavailable: string; }; /** * Picks the configured translation backend. Returns `{ unavailable }` (rather than throwing) * when the provider's API key is missing, so release-note generation degrades gracefully to * the English-only notes. */ export declare function resolveTranslationModel(options?: ResolveTranslationModelOptions): Promise; //# sourceMappingURL=create-translation-model.d.ts.map