export type FileInfo = { readonly name: string; readonly path: string; }; export type DirInfo = { readonly name: string; readonly path: string; readonly files: Tree; }; export type Tree = readonly (FileInfo | DirInfo)[]; /** * * @param dirPath * @param rootPath */ export declare function generateFileTree(dirPath: string, rootPath?: string): Promise; //# sourceMappingURL=file-tree.d.ts.map