///
///
/**
* Return readline interface and readStream for file
*
* @param {string} path - path to file
* @returns {{lines: readline.Interface, readStream: fs.ReadStream}}
*/
export function readLines(path: string): {
lines: import("readline").Interface;
readStream: import("fs").ReadStream;
};
/**
* Return text from the line
*
* @param {string} path - path to file
* @param {number} lineNumber - number of the line
* @returns {Promise}
*/
export function getLine(path: string, lineNumber: number): Promise;
/**
* Create new file (and path to file is is necessary)
*
* @async
* @param {string} path - path to file
* @returns {Promise}
*/
export function createFile(path: string): Promise;
/**
* Delete file
*
* @async
* @param {string} path - path to file
* @returns {Promise}
*/
export function deleteFile(path: string): Promise;
/**
* Write text at the end of the file or create new file (and path to file is is necessary) and write tet
*
* @async
* @param {string} path - path to file
* @param {string} text - text to append
* @returns {Promise}
*/
export function appendFile(path: string, text: string): Promise;
/**
* Create folder (and path to folder is is necessary)
*
* @param {string} path - path to folder
* @returns {Promise}
*/
export function createPath(path: string): Promise;
/**
* Delete folder
*
* @param {string} path - path to folder
* @returns {Promise}
*/
export function deleteFolder(path: string): Promise;
/**
* Check if file exists
*
* @param {string} path - path to file
* @returns {Promise}
*/
export function exists(path: string): Promise;
/**
* Rewrite file with text
*
* @async
* @param {string} path - path to file
* @param {string} text - text
* @returns {Promise}
*/
export function rewriteFile(path: string, text: string): Promise;
/**
* Return text content of the file
*
* @param {string} path - path to the file
* @returns {Promise}
*/
export function readFile(path: string): Promise;
/**
* Update nth line
*
* @async
* @param {string} path - path to file
* @param {number} lineNumber - number fo the line to update
* @param {string} text - text
* @returns {Promise}
*/
export function updateLine(path: string, lineNumber: number, text: string): Promise;
/**
* Return number of the lines in the file
*
* @param {string} path - path to file
* @returns {Promise}
*/
export function getLineCount(path: string): Promise;
/**
* Copy file
*
* @param {string} sourceFilePath - path of the source file
* @param {string} newFilePath - path where to paste new file
* @returns {Promise}
*/
export function copyFile(sourceFilePath: string, newFilePath: string): Promise;
/**
* Copy whole folder with all files and folder
*
* @param {string} sourceFolderPath - path to the source folder
* @param {string} newFolderPath - path to new folder
*/
export function copyFolder(sourceFolderPath: string, newFolderPath: string): Promise;
/**
* Return list of files in the folder
*
* @async
* @param {string} path - path to he folder
* @returns {Promise}
*/
export function getFilsesNames(path: string): Promise;
/**
* Return list of folders in the folder
*
* @async
* @param {string} path - path to he folder
* @returns {Promise}
*/
export function getFoldersNames(path: string): Promise;
/**
* Rethrow exception other then ENOENT
*
* @param {Error} err
*/
export function checkENOENT(err: Error): void;