import { LangAndText, Locale } from '@mesalvo/ts-definitions';
import { Language } from '../../types';
type UseTranslationsInputLogicProps = {
    array: LangAndText[];
    onChange: (newArray: LangAndText[]) => void;
    allLanguages: Language[];
    getLabel: (lang: Language) => string | undefined;
    changeText: (value: string, index: number) => void;
    defaultLang: string;
};
export type TiProps = {
    className: string;
    label: string;
    onChange: (e: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
    rightContent: React.ReactNode;
    value: string;
};
export declare function useTranslationsInputLogic({ array, onChange, allLanguages, getLabel, changeText, defaultLang, }: UseTranslationsInputLogicProps): {
    deleteLangAndText: (langAndText: LangAndText) => void;
    getTiProps: (language: Language) => TiProps;
    loading: boolean;
    mainItem: {
        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;
    };
    mainLanguage: Language;
    supportedLangCompleted: number;
    supportedLangs: Locale[];
    total: number;
    translate: () => Promise<void>;
    unsupportedLangs: ("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")[];
};
export {};
//# sourceMappingURL=use-translations-input-logic.d.ts.map