/** What the summary is built from: the three things the orchestrator needs. */ export interface BatchDiagnosisFinding { /** Why the symptom happens, in the diagnostician's own words. */ readonly rootCause: string; /** The repo-relative paths a fix would touch, POSIX-normalized. */ readonly files: readonly string[]; /** The sketch of the fix, one line. */ readonly sketch: string; } /** * Collapse a paragraph to one line. * * Exported because the summary renders the same fields, and two modules * that shape the same text must shape it the same way. */ export declare function collapse(text: string): string; /** * Read the finding out of a diagnosis report. * * @param report - The report the diagnostician produced, verbatim. * @returns The finding, or `null` when the report carries no recognised * section at all — a report in another shape, which the caller must * read rather than summarise. */ export declare function parseBatchDiagnosisFinding(report: string): BatchDiagnosisFinding | null;