/**
 * ADR-PIPELINE-072 §5 — Post-Render Reconciliation.
 *
 * After the coding agent generates the prototype and its demo runs, the
 * real demo calls `writeUnitEconomics()` and overwrites
 * `<runDir>/unit-economics.json` with `source='prototype'` carrying
 * measured (not predicted) numbers.
 *
 * This reconciler reads BOTH manifests from the same run (the preview
 * remains in `<runDir>/unit-economics.preview.json` after the pre-render
 * pass), computes the drift, and emits:
 *
 *   - `<runDir>/reconciliation.report.json` — structured drift report
 *   - a drift warning header that can be prepended to executive docs
 *     when drift > 25% on the headline savings number
 *
 * The reconciler is strictly informational — it never blocks the pipeline.
 */
export interface ReconciliationInput {
    readonly runDir: string;
    readonly runId: string;
}
export interface ReconciliationReport {
    readonly run_id: string;
    readonly generated_at: string;
    readonly status: 'aligned' | 'drift' | 'missing-preview' | 'missing-prototype';
    readonly drift_pct: number | null;
    readonly tolerance_pct: number;
    readonly preview: {
        readonly annual_measured_savings_usd: number;
        readonly annual_extrapolated_savings_usd: number;
    } | null;
    readonly prototype: {
        readonly annual_measured_savings_usd: number;
        readonly annual_extrapolated_savings_usd: number;
    } | null;
    readonly message: string;
}
export type ReconciliationOutcome = {
    readonly status: 'wrote';
    readonly reportPath: string;
    readonly report: ReconciliationReport;
} | {
    readonly status: 'skipped';
    readonly reason: string;
};
export declare function executeReconciliation(input: ReconciliationInput): ReconciliationOutcome;
/**
 * Produce a markdown warning header for inclusion at the top of affected
 * executive documents. Returns null when no warning is needed.
 */
export declare function formatDriftWarning(report: ReconciliationReport): string | null;
//# sourceMappingURL=post-render-reconciler.d.ts.map