export interface GlobOptions { cwd?: string; nocase?: boolean; nodir?: boolean; symlinks?: Record; ignore?: string | string[]; } declare class FileSystem { static fileExists(file: string): Promise; private globCache; targetDirectory: string; filterPaths: string[]; constructor(targetDirectory?: string, filterPaths?: string[]); private globCacheKey; resolveContained(relativeFile: string): string; relativeFileExists(file: string): Promise; findFirst(globs: string | string[], isNocase?: boolean): Promise; findFirstFile(globs: string | string[], isNocase?: boolean): Promise; findAllFiles(globs: string | string[], isNocase?: boolean): Promise; glob(globs: string | string[], options: GlobOptions): Promise; findAll(globs: string | string[], isNocase?: boolean): Promise; isBinaryFile(relativeFile: string): Promise; shouldInclude(filePath: string): boolean; normalizePath(filepath: string): string; getFileContents(relativeFile: string): Promise; setFileContents(relativeFile: string, contents: string): Promise; removeFile(relativeFile: string): Promise; getFileLines(relativeFile: string, lineCount: number): Promise; } export default FileSystem;