export declare function pathExists(p: string): Promise; export declare function ensureDir(p: string): Promise; export declare function readText(p: string): Promise; export declare function writeText(p: string, content: string): Promise; /** * Remove a file if it exists. Swallows ENOENT so it is safe to call on * files that may not be present (idempotent cleanup). */ export declare function removeFile(p: string): Promise; export interface CopyFileOptions { chmod?: number; } export declare function copyFile(src: string, dest: string, options?: CopyFileOptions): Promise; export declare function listFilesRecursive(rootDir: string, prefixDir: string): Promise;