export declare function checkIfExists(path: string): Promise; export declare function copyFile(srcFile: string, destFolder: string): Promise; export declare function copyFiles(srcFolder: string, destFolder: string): Promise; export declare function ensureFolderExists(path: string): Promise; export declare function listFiles(path: string): Promise; export declare function listFolders(dirPath: string): Promise; export declare function loadFile(path: string): Promise; export declare function saveFile(path: string, content: string): Promise; export declare function deleteFile(path: string): Promise; export declare function copyFolderRecursive(srcFolder: string, destFolder: string): Promise; export declare function deleteFolder(dirPath: string): Promise; /** * Search folders in order, return the full path to the first existing match * for the given filename. */ export declare function findFileInFolders(folders: string[], filename: string): Promise; /** * Merge file listings from multiple folders. First folder takes priority on * name collisions (earlier occurrence wins). */ export declare function listFilesFromFolders(folders: string[]): Promise; /** * Copy files from multiple source folders into a single destination. * First folder takes priority on duplicate filenames (copy is skipped * if the file already exists in dest from an earlier folder). */ export declare function copyFilesFromFolders(folders: string[], destFolder: string): Promise; //# sourceMappingURL=files.d.ts.map