import { DirEntry, IFileSystem } from '../../domain/interfaces'; export declare class OverlayFileSystem implements IFileSystem { private readonly fallback; private readonly root; private readonly files; constructor(overlayRoot: string, files: Record, fallback: IFileSystem); private absKey; private isOverlay; readFile(filePath: string): Promise; readFileBuffer(filePath: string): Promise; readJson(filePath: string): Promise; exists(filePath: string): Promise; existsSync(filePath: string): boolean; private existsInOverlay; readdir(dirPath: string): Promise; readdirNames(dirPath: string): Promise; private readdirOverlay; stat(filePath: string): Promise<{ isDirectory: () => boolean; isFile: () => boolean; }>; writeFile(filePath: string, content: string): Promise; writeJson(filePath: string, content: unknown): Promise; mkdir(dirPath: string): Promise; ensureDir(dirPath: string): Promise; ensureFile(filePath: string): Promise; copy(src: string, dest: string): Promise; remove(filePath: string): Promise; }