import type { Ledger } from "./ledger.js"; import type { Classification } from "./classifier.js"; import type { WorkflowMatchResult } from "./workflow-matcher.js"; /** * v0.5 §6.1 — renders the Markdown analysis report. * * Pure function over (ledger + classifications + workflow match). The CLI * wrapper saves the output to `/.solosquad/analysis/-.md`. */ export interface RenderReportInput { repo_label: string; ledger: Ledger; classifications: Classification[]; workflow_match: WorkflowMatchResult; scan_summary: { total_files: number; new_files: number; modified_files: number; unchanged_files: number; removed_files: number; }; generated_at: string; } export declare function renderReport(input: RenderReportInput): string; export declare function slugifyForReport(input: string): string; export declare function defaultReportPath(repoRoot: string, generatedAt: Date, slug: string): string; export declare function writeReport(reportPath: string, body: string): void;