import { ResultDir, ResultFile } from '@alilc/lowcode-types';
type FuncFileGenerator = () => [string[], ResultFile];
/**
 * 将文件位置及文件插入到目录的树形结构
 * @param root
 * @param path
 * @param file
 */
export declare function insertFile(root: ResultDir, path: string[], file: ResultFile): void;
export declare function runFileGenerator(root: ResultDir, fun: FuncFileGenerator): void;
export {};
