///
import fs from 'fs';
export default function FileManagement(): {
getLocalFileStream(filePath: string): fs.ReadStream;
getLocalFile(filePath: string, encoding?: BufferEncoding | undefined): Promise;
readDir(dirPath: string): Promise;
writeFile(filePath: string, contents: any): Promise;
checkAndCreateDirectoryOrFile(filepath: string, isFile?: boolean, fileContents?: any): Promise;
doesDirectoryExist(filePath: string): Promise;
doesFileExist(filePath: string): Promise;
doesDirOrFileExist(filePath: string, method: 'isDirectory' | 'isFile'): Promise;
getFileName(fileName: string, extraText?: number | string): string;
};