export declare enum WatchType { Add = "add", Change = "change", Delete = "unlink", Unlink = "unlink", AddDir = "addDir", Raw = "raw" } export declare function watch(Path: string[], Type: WatchType[], Callback: Function): any; export declare function read_file(path: string): Promise; export declare function mkdirs(dirpath: any, mode?: number, callback?: any): true | void; export declare class filesystem { static exist(file: string): Promise<{}>; static stat(file: string): Promise<{}>; }