/**
 * Auto-Chain Pipeline Orchestrator
 *
 * Automatically chains Phases 2-6 after enterprise simulation (Phase 1).
 * Each phase reads artifacts from prior phases in ~/.agentics/runs/<traceId>/.
 *
 * This replaces the old executePipeline() which used weak generic stages.
 * The auto-chain calls the actual phase coordinators (phase2 through phase6)
 * that produce high-fidelity artifacts:
 *   Phase 2: Deep Research (research dossier from Phase 1 documents)
 *   Phase 3: SPARC + London TDD (specification, pseudocode, architecture, refinement, completion + test plan)
 *   Phase 4: ADRs + DDDs (architecture decision records + domain-driven design models)
 *   Phase 5: Build (code generation + deployable service from ADRs/DDDs)
 *   Phase 6: ERP Surface Push (registration + project materialization)
 */
import { type ExecutionMode } from './execution-context.js';
export interface AutoChainOptions {
    readonly verbose?: boolean;
    readonly outputDir?: string;
    readonly executionMode?: ExecutionMode;
}
interface PhaseResult {
    phase: number;
    label: string;
    status: 'completed' | 'failed' | 'skipped';
    timing: number;
    artifacts: string[];
    outputDir: string;
    error?: string;
    agenticsAgents?: {
        total: number;
        responded: number;
        domains: string[];
    };
}
export interface AutoChainResult {
    traceId: string;
    runDir: string;
    phases: PhaseResult[];
    totalTiming: number;
    success: boolean;
    executionMode: ExecutionMode;
    scenarioBranch?: string;
    commitHash?: string;
    githubUrl?: string;
}
export declare function executeAutoChain(traceId: string, options?: AutoChainOptions): Promise<AutoChainResult>;
/**
 * Format the auto-chain result for stdout display.
 * This is the consolidated pipeline summary that surfaces Phase 2-6 details
 * to callers who only see stdout (e.g., Claude Code rendering `agentics ask`).
 */
export declare function formatAutoChainForDisplay(result: AutoChainResult): string;
export {};
//# sourceMappingURL=auto-chain.d.ts.map