1 | export declare const fileExists: (path: string) => Promise<boolean>;
|
2 | export declare const dirExists: (path: string) => Promise<boolean>;
|
3 | export declare const readDir: (path: string) => Promise<string[]>;
|
4 | export declare const rmFile: (path: string) => Promise<void>;
|
5 | export declare const writeFile: (path: string, content: string) => Promise<void>;
|
6 | export declare const rmdir: (path: string) => Promise<void>;
|
7 | export declare const mkdir: (path: string) => Promise<void>;
|
8 | export interface CopyFileOpts {
|
9 | transform?: (source: string) => string | Promise<string>;
|
10 | }
|
11 | export declare const copyFile: (src: string, dest: string, { transform }?: CopyFileOpts) => Promise<void>;
|
12 | export declare const copyDir: (src: string, dest: string) => Promise<void>;
|