export interface FilesystemAdapter { readFile(filePath: string): Promise; writeFile(filePath: string, content: string): Promise; appendFile(filePath: string, content: string): Promise; mkdir(dirPath: string): Promise; exists(filePath: string): Promise; readdir(dirPath: string): Promise; } export declare class NodeFilesystemAdapter implements FilesystemAdapter { readFile(filePath: string): Promise; writeFile(filePath: string, content: string): Promise; appendFile(filePath: string, content: string): Promise; mkdir(dirPath: string): Promise; exists(filePath: string): Promise; readdir(dirPath: string): Promise; } export declare class InMemoryFilesystemAdapter implements FilesystemAdapter { private files; readFile(filePath: string): Promise; writeFile(filePath: string, content: string): Promise; appendFile(filePath: string, content: string): Promise; mkdir(_dirPath: string): Promise; exists(filePath: string): Promise; readdir(dirPath: string): Promise; clear(): void; listFiles(): string[]; }