/**
 * Phase 4 ADR Manifest Writer
 *
 * Walks the phase4/ directory tree, computes SHA-256 checksums for every file,
 * and writes phase4-manifest.json with full artifact inventory.
 *
 * Follows the atomic write + checksum pattern from the Phase 3 manifest writer,
 * adapted for Phase 4 fields:
 *   - schema_version: '4.0.0'
 *   - success (derived from stage results)
 *
 * Exports:
 *   - writePhase4ADRManifest() — builds and writes the manifest
 */
import type { Phase4ADRManifest } from './types.js';
import type { Phase2StageOutput } from '../phase2/types.js';
/**
 * Build and write the Phase 4 manifest to `phase4-manifest.json`.
 *
 * Walks the Phase 4 output directory, checksums every artifact, and produces
 * a manifest with full provenance (trace id, stage results, timing, and
 * per-file SHA-256 hashes).
 *
 * @param phase4Dir    - Root output directory for Phase 4 artifacts
 * @param traceId      - Trace identifier linking pipeline phases
 * @param stages       - Outputs from each completed Phase 4 stage
 * @param totalTimingMs - Wall-clock milliseconds for the entire Phase 4 run
 * @returns The fully-populated manifest object
 */
export declare function writePhase4ADRManifest(phase4Dir: string, traceId: string, stages: Phase2StageOutput[], totalTimingMs: number): Phase4ADRManifest;
//# sourceMappingURL=manifest-writer.d.ts.map