1 |
|
2 | import * as FS from 'fs-extra';
|
3 | export declare function exists(f: string): Promise<boolean>;
|
4 | export declare function stat(file: string): Promise<FS.Stats>;
|
5 | export declare function rename(from: string, to: string): Promise<void>;
|
6 | export declare function remove(file: string): Promise<void>;
|
7 | export declare function ls(dir: string): Promise<{
|
8 | path: string;
|
9 | stat: FS.Stats;
|
10 | }[]>;
|
11 | export declare function removeEmptyDirs(dir: string): Promise<void>;
|
12 | export declare function readJSON(file: string): Promise<any>;
|
13 | export declare function outputJSON(file: string, data: any, options?: FS.WriteOptions): Promise<void>;
|
14 | export declare function realpathSync(p: string): string;
|