/** * File writing utilities for report generation * Centralizes file I/O operations for consistency */ /** * Writes both markdown and JSON report files to a directory * * This utility ensures consistent file writing behavior across all report * generators (conflicts, unresolved variables, etc.). It handles directory * creation and writes both formats in parallel for efficiency. * * @param outputDir - Directory to write reports to (will be created if needed) * @param baseFilename - Base name for files (without extension) * @param markdownContent - Content for the .md file * @param jsonContent - Content for the .json file * @returns Promise resolving to absolute paths of written files * * @example * ```typescript * const paths = await writeReportFiles( * './reports', * 'conflicts', * '# Conflicts\n...', * '{"conflicts": [...]}' * ); * // { * // markdown: '/absolute/path/reports/conflicts.md', * // json: '/absolute/path/reports/conflicts.json' * // } * ``` */ export declare function writeReportFiles(outputDir: string, baseFilename: string, markdownContent: string, jsonContent: string): Promise<{ markdown: string; json: string; }>;