1 |
|
2 | import { MakeDirectoryOptions, promises as fsPromises } from 'fs';
|
3 | export declare function pathExists(path: string): Promise<boolean>;
|
4 | export declare function readJSONSync<T = any>(path: string): T;
|
5 | export declare function readJSON<T = any>(path: string): Promise<T>;
|
6 | export declare function writeJSON<T>(path: string, data: T, replacer?: (this: any, key: string, value: any) => any, space?: string | number): Promise<void>;
|
7 | export declare const writeFile: typeof fsPromises.writeFile;
|
8 | export declare function mkdir(path: string, options?: MakeDirectoryOptions): Promise<void>;
|