export interface FileSystem { readDirectory( path: string, extensions?: readonly string[], exclude?: readonly string[], include?: readonly string[], depth?: number, ): string[]; deleteFile?(path: string): void; createDirectory(path: string): void; writeFile(path: string, data: string, writeByteOrderMark?: boolean): void; directoryExists(path: string): boolean; readFile(path: string, encoding?: string): string | undefined; }