/** * Virtual File System * * In-memory file state with snapshot/restore for speculative fix application. */ export declare class VirtualFS { private files; private original; /** * Initialize VFS from a tsconfig.json path */ static fromProject(configPath: string): VirtualFS; /** * Read a file. Returns undefined if not in VFS, falls back to disk. */ read(fileName: string): string | undefined; /** * Write content to a file in the VFS */ write(fileName: string, content: string): void; /** * Apply a text change to a file */ applyChange(fileName: string, start: number, end: number, newText: string): void; /** * Get all file names in the VFS */ getFileNames(): string[]; /** * Check if a file exists in the VFS or on disk */ fileExists(fileName: string): boolean; /** * Create a snapshot of the current state */ snapshot(): Map; /** * Restore from a snapshot */ restore(snapshot: Map): void; /** * Reset to original state (when VFS was created) */ reset(): void; /** * Get the current content of a file */ getContent(fileName: string): string | undefined; } //# sourceMappingURL=vfs.d.ts.map