/** * @description 翻译中文名称 */ import { IBaiduTranslateConfig } from '../types/pontConfig'; export declare const dict: { [rootDir: string]: { [cn: string]: string; }; }; export declare function translate(rootDir: any, translatePath: any, baiduTranslateConfigs: IBaiduTranslateConfig[], text: string, engineIndex?: number): any; /** 翻译中文类名等 */ export declare function translateChinese(jsonString: string, rootDir: string, translatePath: string, baiduTranslateConfigs?: IBaiduTranslateConfig[]): Promise;