/**
 * File Writer
 * Handles writing generated files to disk with retry logic
 */
import { GeneratedFile, ProgressCallback } from './types';
export interface WriteOptions {
    dryRun?: boolean;
    verbose?: boolean;
    onProgress?: ProgressCallback;
}
export interface WriteResult {
    written: string[];
    skipped: string[];
    errors: Array<{
        path: string;
        error: string;
    }>;
}
export declare class FileWriter {
    /**
     * Write generated files to disk
     */
    write(files: GeneratedFile[], options?: WriteOptions): Promise<WriteResult>;
    /**
     * Write a single file with retry logic
     */
    private writeFile;
    /**
     * Delete a file with retry logic
     */
    delete(filePath: string, options?: WriteOptions): Promise<boolean>;
    /**
     * Check if a file exists with retry logic
     */
    exists(filePath: string): Promise<boolean>;
    /**
     * Read a file with retry logic
     */
    read(filePath: string): Promise<string>;
}
//# sourceMappingURL=file-writer.d.ts.map