/**
 * Phase 3 Manifest Writer
 *
 * Walks the phase3/ directory tree, computes SHA-256 checksums for every file,
 * and writes phase3-manifest.json with full artifact inventory.
 *
 * Follows the atomic write + checksum pattern from
 * src/pipeline/phase2/manifest-writer.ts, adapted for Phase 3 fields:
 *   - schema_version: '3.0.0'
 *   - implementation_language, mixed_mode, ruflo_version
 *   - success (derived from stage results)
 *
 * Exports:
 *   - computeChecksum()     — pure SHA-256 hex digest helper
 *   - writePhase3Manifest() — builds and atomically writes the manifest
 */
import type { ImplementationLanguage, Phase3StageOutput, Phase3Manifest } from './types.js';
/**
 * Compute a SHA-256 hex digest of the given string content.
 *
 * @param content - UTF-8 string to hash
 * @returns Lowercase hex SHA-256 checksum
 */
export declare function computeChecksum(content: string): string;
/**
 * Build and atomically write the Phase 3 manifest to `phase3-manifest.json`.
 *
 * Walks the Phase 3 output directory, checksums every artifact, and produces
 * a manifest with full provenance (trace id, implementation language, ruflo
 * version, stage results, timing, and per-file SHA-256 hashes).
 *
 * @param phase3Dir    - Root output directory for Phase 3 artifacts
 * @param traceId      - Trace identifier linking pipeline phases
 * @param language     - The resolved implementation language
 * @param rufloVersion - Version string of the ruflo binary used (or 'N/A')
 * @param stageResults - Outputs from each completed Phase 3 stage
 * @param totalTiming  - Wall-clock milliseconds for the entire Phase 3 run
 * @returns The fully-populated manifest object
 */
export declare function writePhase3Manifest(phase3Dir: string, traceId: string, language: ImplementationLanguage, rufloVersion: string, stageResults: Phase3StageOutput[], totalTiming: number): Phase3Manifest;
//# sourceMappingURL=manifest-writer.d.ts.map