/**
 * Phase 4 Pipeline -- Stage 8: Metadata Augmentor
 *
 * Augments existing Phase 2 Architecture Decision Records (ADRs) with
 * Phase 4 runtime decisions covering database engine selection, IAM
 * strategy, deployment target, and ERP integration pattern.
 *
 * Reads the Phase 2 ADR index from disk, appends runtime ADRs, and
 * writes two output files:
 *   - augmented-adrs.json  (all ADRs: Phase 2 originals + Phase 4 runtime)
 *   - runtime-decisions.json  (Phase 4 runtime decisions only)
 *
 * Exports:
 *   - augmentMetadata(context) -- pipeline entry point
 *
 * Error codes:
 *   ECLI-P4-080  Missing prerequisite stage output (erp-target-resolution)
 *   ECLI-P4-081  ADR index load failure
 *   ECLI-P4-082  Metadata file write failure
 */
import type { Phase4Context, Phase4StageOutput } from '../types.js';
/**
 * Stage 8 entry point: augment Phase 2 ADRs with Phase 4 runtime decisions.
 *
 * Reads ERPResolution from context.stageOutputs.get('erp-target-resolution'),
 * loads the Phase 2 ADR index from context.phase2Dir/adrs/adr-index.json,
 * appends four runtime decisions, and writes two JSON files to
 * phase4/metadata/.
 *
 * @param context - The Phase 4 pipeline context
 * @returns Stage output describing success or failure
 */
export declare function augmentMetadata(context: Phase4Context): Phase4StageOutput;
//# sourceMappingURL=metadata-augmentor.d.ts.map