import type { TranslationParamsType } from '../types'; /** * @description * Translations in our DB are set up to support plurals and singulars by indexes * at the end of the key * @example "achievements_badge_description_best_answers_0":"Przyznaliśmy odznakę za %counter% najlepszą odpowiedź.", "achievements_badge_description_best_answers_1":"Przyznaliśmy odznakę za %counter% najlepsze odpowiedzi.", "achievements_badge_description_best_answers_2":"Przyznaliśmy odznakę za %counter% najlepszych odpowiedzi.", * * transChoiceHelper function will modify given key with proper index based on given number. */ export interface TransChoiceHelperFnType { translator: { trans: (string: string, translationVariables?: TranslationParamsType) => string; }; translationKey: string; number?: number; locale?: string; params?: TranslationParamsType; } export declare function transChoiceHelper({ translationKey, translator, number, params, locale, }: TransChoiceHelperFnType): string;