///
///
///
import fs from 'fs';
declare type IgnoreFunction = (file: string, stats: fs.Stats) => boolean;
export declare class FileSystemReader {
fileExists(filePath: string): boolean;
readFile(filePath: string): string | undefined;
readFileAsync(filePath: string): Promise;
recursiveReadDir(rootDir: string, ignores?: ReadonlyArray): Promise;
readGlob({ pattern, filesOnly }: {
pattern: string;
filesOnly?: boolean;
}): Promise;
hasGlobSpecialChars(pattern: string): boolean;
readBinaryFile(filePath: string): Buffer | undefined;
readBinaryFileAsync(filePath: string): Promise;
getHomeDirectory(): string;
bytesToMb(size: number | undefined): string;
getSize(filePath: string): number | undefined;
getFolderSizeAsync(directory: string): Promise;
private handleFileError;
getFileGlobList(globList: string[]): Promise;
}
export {};
//# sourceMappingURL=file-system-reader.d.ts.map