///
export declare class FSUtil {
/**
* Check if path exists
* @param {string} path
* @return {Promise}
*/
static exists(path: string): Promise;
/**
* Check if path is actually a URL
* @param path
*/
static isURL(path: string): boolean;
/**
* Check if path is absolute
* @param {string} path
* @return {boolean}
*/
static isAbsolute(path: string): boolean;
/**
* Find files by mask
* @param {string[]} masks
* @param {string[]} ignore
* @param {string} wd
* @return {Promise}
*/
static findFilesByMasks(masks: string[], ignore: string[], wd: string): Promise;
/**
* Get absolute based on current working directory
* @param {string} path
* @param {string} wd Working Directory
* @return {string}
*/
static getAbsolutePath(path: string, wd: string): string;
static readFile(file: string): Promise;
/**
* Get text file content
* @param {string} file
* @param {BufferEncoding} [encoding]
* @return {Promise}
*/
static readTextFile(file: string, encoding?: BufferEncoding): Promise;
/**
* Create directory and all its parents recursively
* @param {string} path
* @return {Promise}
*/
static mkdirp(path: string): Promise;
/**
* Remove files and folders at given path recursively
* @param {string} path
* @param {boolean} skipNotFound do not rise exception if file no longer exists
* @return {Promise}
*/
static remove(path: string, skipNotFound?: boolean): Promise;
/**
* Check if path represents a directory
* @param {string} path
* @return {Promise}
*/
static isDirectory(path: string): Promise;
/**
* Move file/folder
* @param {string} from
* @param {string} to
* @return {Promise}
*/
static move(from: string, to: string): Promise;
/**
* Copy file/folder
* @param {string} from
* @param {string} to
* @return {Promise}
*/
static copy(from: string, to: string): Promise;
/**
* Read and parse yaml file
* @param {string} file
* @returns {Promise}
*/
static readYamlFromFile(file: string): Promise;
}