import type { GeneratedCode, WriteOptions, WriteResult } from '../types/index.js'; /** * File writer with safety features */ export declare class FileWriter { private outputDir; constructor(outputDir: string); /** * Write generated code to file system */ write(code: GeneratedCode, options?: WriteOptions): Promise; /** * Create backup of existing file */ private createBackup; /** * Check if file exists */ fileExists(filename: string): Promise; /** * Preview file content without writing */ preview(code: GeneratedCode): string; } //# sourceMappingURL=file-writer.d.ts.map