import { type FileInfo, type FileStat, FileSystem, type StatsOptions, type WriteOptions } from './fileSystem'; /** * Decorate any existing file system with caching functionality; caches the write and stat operations towards the target file system. * The methods `readDirectory` and `findFiles` are not cached and will be redirected to the base file system. */ export declare class CachedFileSystemAdapter extends FileSystem { private readonly innerFs; constructor(innerFs: FileSystem); readFileAsString(fileName: string, encoding?: BufferEncoding): Promise; clearCache(): void; readFile(fileName: string): Promise; stat(path: string, options?: StatsOptions): Promise; readDirectory(path: string): Promise; findFiles(patterns: string | string[]): Promise; writeFile(path: string, data: Buffer, options?: WriteOptions | undefined): Promise; createDirectory(path: string): Promise; } //# sourceMappingURL=cachedFileSystem.d.ts.map