export declare class Folder { static create(basePath: string, ...relative: string[]): Folder; private readonly _basePath; private readonly _relative; private readonly _folders; private readonly _files; constructor(basePath: string, relative: string[], folders: Folder[], files: string[]); get folders(): Folder[]; get files(): string[]; addFolder(folder: Folder): this; addFile(file: string): this; join(...paths: string[]): string; getAllFilePaths(): string[]; do(folderFunction: (folder: Folder) => boolean | Promise, fileFunction: (file: string) => void | Promise): Promise; }