/** * "Hello %(name)s" --> "Hello {name}" * "%(count)d apples" --> "{count} apples" * @param input */ export declare function convertPythonStringToICU(input: string): string; /** * convert icu translation string into python format * @param icuTranslation * @param originalPythonString */ export declare function convertICUToPythonString(icuTranslation: string, originalPythonString: string): string; /** * take message with variables {name} and replace them with placeholders {x} * then get resource file key * @param input */ export declare function getResourceFileKey(input: string): string; /** * get target language by looking at po file header * if not found then look at file path for a locale * @param sourceFilePath * @param headers * @param allowedLanguages */ export declare function getTargetLang(sourceFilePath: string, headers: any, allowedLanguages: Set): string | null; export declare function savePOFile(pofile: any, filepath: string): Promise;