/**
 * Pass 5 — Apex Decision Layer (ADR-037)
 *
 * Executes in two phases:
 *
 *   Phase 1: Artifact Generation (concurrent)
 *     - Decision Memo Agent       → Artifact #1
 *     - Executive Summary Agent   → Artifact #2
 *     - Risk Scoring Agent        → Artifact #5
 *     - Documentation Generator   → Artifacts #8, #9, #10, #11, #13, #14
 *
 *   Phase 2: Scoring & Assembly (sequential, after Phase 1)
 *     - Decision Agent            → Artifact #12 (Confidence Score)
 *     - Pipeline Orchestrator     → Artifact #15 (Provenance Manifest)
 *     - Package Assembler         → DECISION_PACKAGE.md
 *
 * Artifacts #3 (Architecture), #4 (Simulation), #6 (CostOps), #7 (Compliance)
 * are read from the DecisionGraph — they were produced in Passes 2-4.
 */
import type { PassNumber, AgentRef, AgentInvocationResult, DecisionNodeType } from './types.js';
import { DecisionGraph } from './decision-graph.js';
import { ProvenanceTracker } from './provenance-tracker.js';
/** Confidence score component with weight. */
export interface ConfidenceComponent {
    readonly name: string;
    readonly weight: number;
    readonly rawScore: number;
    readonly weightedScore: number;
    readonly source: string;
    readonly degraded: boolean;
}
/** Full confidence score breakdown. */
export interface ConfidenceScoreBreakdown {
    readonly overall: number;
    readonly recommendation: ConfidenceRecommendation;
    readonly components: readonly ConfidenceComponent[];
    readonly degradationPenalty: number;
    readonly degradedPasses: readonly PassNumber[];
    readonly methodology: string;
}
/** Decision recommendation per ADR-037. */
export type ConfidenceRecommendation = 'proceed' | 'proceed-with-conditions' | 'investigate-further' | 'do-not-proceed';
/** Phase 1 agent group identifiers. */
export type Phase1GroupId = 'decision-memo' | 'executive-summary' | 'risk-scoring' | 'documentation-generator';
/** Agent group configuration for Phase 1. */
export interface Phase1GroupConfig {
    readonly id: Phase1GroupId;
    readonly label: string;
    readonly agents: readonly AgentRef[];
    readonly artifactNumbers: readonly number[];
    readonly graphNodeTypes: readonly DecisionNodeType[];
    /** Which DecisionGraph node types this group reads from. */
    readonly readsFrom: readonly DecisionNodeType[];
}
/** Result from a Phase 1 agent group. */
export interface Phase1GroupResult {
    readonly group: Phase1GroupId;
    readonly label: string;
    readonly agentResults: readonly AgentInvocationResult[];
    readonly successCount: number;
    readonly totalCount: number;
    readonly durationMs: number;
}
/** Full Pass 5 execution result. */
export interface Pass5Result {
    readonly phase1Results: readonly Phase1GroupResult[];
    readonly confidenceScore: ConfidenceScoreBreakdown;
    readonly graphNodeIds: readonly string[];
    readonly totalAgentResults: readonly AgentInvocationResult[];
}
export declare const PHASE1_GROUP_CONFIGS: readonly Phase1GroupConfig[];
/**
 * Execute Pass 5: Apex Decision Layer.
 *
 * Phase 1: Generate artifacts #1, #2, #5, #8-11, #13-14 concurrently.
 * Phase 2: Compute Decision Confidence Score (#12) sequentially.
 *
 * Artifacts #3, #4, #6, #7, #15 are NOT generated here — they come from
 * Passes 2-4 and the Pipeline Orchestrator respectively.
 */
export declare function executePass5(params: {
    prompt: string;
    graph: DecisionGraph;
    tracker: ProvenanceTracker;
    timeoutMs: number;
    verbose: boolean;
    passesDegraded: readonly PassNumber[];
    invokeAgents?: (agents: readonly AgentRef[], payload: Record<string, unknown>, pass: PassNumber, timeoutMs: number) => Promise<AgentInvocationResult[]>;
}): Promise<Pass5Result>;
//# sourceMappingURL=pass5-decision.d.ts.map