import { LangAndText } from '@mesalvo/ts-definitions';
interface TranslationInputProps {
    array: LangAndText[];
    mainValue: LangAndText;
    onChange?: (translations: LangAndText[]) => void;
}
export declare const buildTranslationPrompt: (text: string, sourceLang: string, targetLocales: string[]) => string;
export declare const parseTranslationsFromModel: (raw: string, allowedLocales: string[]) => LangAndText[];
export declare const handleTranslate: (mainValue: LangAndText, allLanguagesLocales: string[], onChange?: (translations: LangAndText[]) => void) => Promise<void>;
export declare const useAiTranslate: (props: TranslationInputProps) => {
    firstFilledTranslation: {
        language: "en" | "cy" | "de" | "ee" | "es" | "fr" | "it" | "no" | "pt" | "ru" | "ja" | "zh" | "ko" | "es-ES" | "es-AR" | "es-BO" | "es-VE" | "es-MX" | "es-CL" | "es-CO" | "es-CR" | "es-DO" | "es-EC" | "es-SV" | "ca-ES" | "eu-ES" | "gl-ES" | "en-US" | "en-GB" | "en-CA" | "en-AU" | "fr-FR" | "fr-CA" | "de-DE" | "de-AT" | "de-CH" | "de-LU" | "de-LI" | "it-IT" | "pt-PT" | "pt-BR" | "ja-JP" | "zh-CN" | "zh-TW" | "ko-KR" | "ru-RU" | "ar-SA" | "hi-IN" | "bn-BD" | "ur-PK" | "fa-IR" | "tr-TR" | "nl-NL" | "sv-SE" | "pl-PL" | "id-ID" | "fi-FI" | "no-NO" | "da-DK" | "el-GR" | "et-EE" | "lt-LT" | "lv-LV" | "cs-CZ" | "en-CY";
        text: string;
    } | undefined;
    loading: boolean;
    translate: () => Promise<void>;
    unfilledLanguages: import('../..').Language[];
};
export {};
//# sourceMappingURL=use-ai-translate.d.ts.map