/**
 * ADR-PIPELINE-094 Decision 8 — Phase-1 consensus reader for local fallback
 * generators. Reads Phase-1 simulator outputs (which Phase 1 writes flat to
 * `<runDir>/`) and exposes them as a typed, normalized shape.
 *
 * Consumed by the phase3/4/5a local fallback generators. Resilient to
 * partial Phase-1 output: any file may be missing; missing fields are left
 * undefined and the caller decides what to synthesize from what's present.
 *
 * Honours both layouts:
 *   - flat (production):   <runDir>/manifest.json
 *   - subdir (test fixture): <runDir>/phase1/manifest.json
 */
/** Normalized snapshot of Phase-1 simulator consensus. All fields are optional. */
export interface Phase1Consensus {
    readonly runDir: string;
    readonly manifest?: Record<string, unknown>;
    readonly executiveSummary?: string;
    readonly decisionMemo?: string;
    readonly riskAssessment?: Record<string, unknown>;
    readonly scenario?: Record<string, unknown>;
    readonly architectureDecisions?: string;
    readonly projectLanguage?: string;
}
/**
 * Read Phase-1 outputs from `runDir`. Tries flat layout first (production),
 * then subdir (legacy/test). Returns `undefined` only when nothing
 * Phase-1-shaped exists; otherwise populates whichever fields were found.
 */
export declare function readPhase1Consensus(runDir: string): Phase1Consensus | undefined;
/** Extract the user-facing scenario query from a Phase-1 consensus. */
export declare function extractScenarioQuery(c: Phase1Consensus): string;
//# sourceMappingURL=phase1-consensus-reader.d.ts.map