///
///
import { Dirent, Stats } from "fs";
/**
* Check a directory path.
* @param directoryPath - the local path of the directory.
* @returns true if the directory at given path exists, otherwise false.
*/
export declare const directoryExists: (directoryPath: string) => boolean;
/**
* Write a new file locally.
* @param localFilePath - the local path of the file.
* @param data - the content to be written inside the file.
*/
export declare const writeFile: (localFilePath: string, data: Buffer) => void;
/**
* Read a new file from local folder.
* @param localFilePath - the local path of the file.
*/
export declare const readFile: (localFilePath: string) => string;
/**
* Get back the statistics of the provided file.
* @param localFilePath - the local path of the file.
* @returns - the metadata of the file.
*/
export declare const getFileStats: (localFilePath: string) => Stats;
/**
* Return the sub-paths for each file stored in the given directory.
* @param directoryLocalPath - the local path of the directory.
* @returns >> - the list of sub-paths of the files contained inside the directory.
*/
export declare const getDirFilesSubPaths: (directoryLocalPath: string) => Promise>;
/**
* Filter all files in a directory by returning only those that match the given extension.
* @param directoryLocalPath - the local path of the directory.
* @param fileExtension - the file extension.
* @returns >> - return the filenames of the file that match the given extension, if any
*/
export declare const filterDirectoryFilesByExtension: (directoryLocalPath: string, fileExtension: string) => Promise>;
/**
* Delete a directory specified at a given path.
* @param directoryLocalPath - the local path of the directory.
*/
export declare const deleteDir: (directoryLocalPath: string) => void;
/**
* Clean a directory specified at a given path.
* @param directoryLocalPath - the local path of the directory.
*/
export declare const cleanDir: (directoryLocalPath: string) => void;
/**
* Create a new directory in a specified path if not exist in that path.
* @param directoryLocalPath - the local path of the directory.
*/
export declare const checkAndMakeNewDirectoryIfNonexistent: (directoryLocalPath: string) => void;
/**
* Write data a local JSON file at a given path.
* @param localFilePath - the local path of the file.
* @param data - the JSON content to be written inside the file.
*/
export declare const writeLocalJsonFile: (filePath: string, data: JSON) => void;
/**
* Return the local current project directory name.
* @returns - the local project (e.g., dist/) directory name.
*/
export declare const getLocalDirname: () => string;