/** * Node.js FileSystem Adapter * * Implements the FileSystem port using Node.js fs/promises and path modules. */ import type { FileSystem, FileStats } from '../../domain/ports'; /** * Node.js implementation of the FileSystem port. */ export declare class NodeFileSystem implements FileSystem { readFile(filepath: string): Promise; writeFile(filepath: string, content: string): Promise; deleteFile(filepath: string): Promise; getStats(filepath: string): Promise; exists(filepath: string): Promise; mkdir(dirpath: string): Promise; readDir(dirpath: string): Promise; findFiles(rootDir: string, patterns: string[], ignore: string[]): Promise; join(...segments: string[]): string; relative(from: string, to: string): string; resolve(...segments: string[]): string; dirname(filepath: string): string; extname(filepath: string): string; } /** * Default singleton instance */ export declare const nodeFileSystem: NodeFileSystem;