export declare const logSuccess: any; export declare const logError: any; export declare const logWarning: any; export declare function writeFilesSync(props: { filepath: string; fileContent: string[] | object; showName: string; indentSize: number; }): void; /** * 从命令行行参数中获取指定语言 * @param args 命令行参数 * @returns */ export declare function getLocale(args: string[]): string; /** * 修复翻译文本的可修复问题 * @param text * @returns */ export declare function fixErrorTranslateText(text: string): string; /** * 获取翻译后,翻译文本动态参数丢失的错误信息 * @param src 源文本 * @param dist 翻译文本 */ export declare function getParamsNotEqualMsgs(src: string, dist: string): any[]; /** * 将命令参数转换成对象 * @param args * @returns */ export declare function transferArgsToObj(args: string[]): Record; /** * get the length of translate result * include success and error * @param record * @returns */ export declare function getTransResultLength(record: Record>): number; /** * check if in test env */ export declare function checkIsInTest(): boolean; /** * check if in pkg */ export declare function checkIsInPkg(): boolean;