/**
 * File Writer
 *
 * Writes generated files to disk with smart merge strategies.
 */
export interface GeneratedFile {
    path: string;
    content: string;
    type?: string;
    feature?: string;
}
export declare function cleanOutputDir(dir: string): Promise<void>;
/**
 * Write generated files to disk (overwrites all)
 */
export declare function writeFiles(outputDir: string, files: GeneratedFile[]): Promise<void>;
/**
 * Write generated files with smart merge strategy
 *
 * - Generated code (src/, etc.): Overwrite
 * - Migrations (drizzle/, supabase/migrations/): Only add new files, don't overwrite
 * - package.json: Merge dependencies
 * - Config files: Overwrite
 */
export declare function writeFilesWithMerge(outputDir: string, files: GeneratedFile[]): Promise<void>;
/**
 * Write a single file
 */
export declare function writeFile(filePath: string, content: string): Promise<void>;
//# sourceMappingURL=file-writer.d.ts.map