/**
 * Phase 6 Manifest Writer
 *
 * Walks the phase6/ directory tree, computes SHA-256 checksums for every file,
 * and writes phase6-manifest.json with full artifact inventory.
 *
 * Follows the atomic write + checksum pattern from
 * src/pipeline/phase5/manifest-writer.ts, adapted for Phase 6 fields:
 *   - schema_version: '6.0.0'
 *   - erp_system, service_name, registration_id, endpoints
 *   - success (derived from stage results)
 *
 * Exports:
 *   - computeChecksum()     — pure SHA-256 hex digest helper
 *   - writePhase6Manifest() — builds and atomically writes the manifest
 */
import type { Phase6StageOutput, Phase6Manifest, ERPSurfaceRegistration } 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 6 manifest to `phase6-manifest.json`.
 *
 * Walks the Phase 6 output directory, checksums every artifact, and produces
 * a manifest with full provenance (trace id, ERP system, service registration,
 * endpoint mappings, stage results, timing, and per-file SHA-256 hashes).
 *
 * @param phase6Dir      - Root output directory for Phase 6 artifacts
 * @param traceId        - Trace identifier linking pipeline phases
 * @param erpSystem      - The resolved ERP system identifier
 * @param registration   - The ERP surface registration, or null if skipped
 * @param stageResults   - Outputs from each completed Phase 6 stage
 * @param totalTiming    - Wall-clock milliseconds for the entire Phase 6 run
 * @returns The fully-populated manifest object
 */
export declare function writePhase6Manifest(phase6Dir: string, traceId: string, erpSystem: string, registration: ERPSurfaceRegistration | null, stageResults: Phase6StageOutput[], totalTiming: number): Phase6Manifest;
//# sourceMappingURL=manifest-writer.d.ts.map