import '../prototype.ts'; /** 扫描源码中的词条,以及收集未翻译的词条,将结果保存到 dict.json 和 untranslateds.json - `process.cwd()` rootdir 要扫描根目录 - config 配置信息 */ export declare function scan(fpd_root: string, config?: Config): Promise; /** 默认 i18next 扫描配置 */ declare const default_config: { input: undefined[]; output: string; dict: string[]; }; export type Config = Partial<(typeof default_config) & { defaultValue?: string; resource?: { loadPath?: string; savePath?: string; jsonIndent?: number; lineEnding?: '\n'; }; }>; export declare function try_load_dict(fp_dict: string): Promise; export {};