/**
 * Analyse-verify diagnostics — builds + writes the `analyse-quality.json`
 * sidecar (mirror of realize's `realize-quality.json`). Pure builder split
 * from the fs writer so the shape is unit-testable without disk.
 */
import type { SkeletonProvenance } from '../skeleton-emitter.js';
import type { AnalyseQualitySidecar, VerifyFinding } from './types.js';
/** Build the sidecar object. `ranAt` is supplied by the caller (engines runtime
 *  has Date; we keep this builder pure for testing). */
export declare function buildAnalyseQualitySidecar(opts: {
    initialFindings: VerifyFinding[];
    residualFindings: VerifyFinding[];
    skeletonProvenance: SkeletonProvenance;
    refired: number;
    notes: string[];
    ranAt: string;
}): AnalyseQualitySidecar;
/** Write the sidecar to `<outputDir>/analyse-quality.json`. Best-effort. */
export declare function writeAnalyseQuality(outputDir: string, sidecar: AnalyseQualitySidecar): string;
/** CLI summary line — `null` when there's nothing to report. */
export declare function formatAnalyseQualityLine(sidecar: AnalyseQualitySidecar): string | null;
//# sourceMappingURL=diagnostics.d.ts.map