/**
 * Phase 5 Command (Build)
 *
 * Chains code generation and deployable service generation into a
 * single Build pipeline:
 *   - Prior Phase Loading (Phase 2/3/4 artifact validation)
 *   - Domain Code Generation (existing Phase 3 codegen pipeline)
 *   - Deployable Service Generation (existing Phase 4 deploy pipeline)
 *
 * Usage:
 *   agentics phase5 --trace <TRACE_ID>
 *   agentics phase5 --latest
 *
 * Error codes:
 *   ECLI-P5-001  Missing Phase 4 (ADRs+DDDs) artifacts
 *   ECLI-P5-006  Phase 5 output directory already exists (append-only)
 *   ECLI-P5-007  No runs found (--latest with empty runs dir)
 */
import type { Phase5BuildPipelineResult } from '../pipeline/phase5-build/index.js';
export interface Phase5CommandOptions {
    readonly trace?: string;
    readonly latest?: boolean;
    readonly verbose?: boolean;
    readonly format?: 'json' | 'text';
}
/**
 * Execute the `agentics phase5` command.
 *
 * Resolves the Phase 1 run directory (via --trace or --latest), validates
 * that Phase 4 (ADRs+DDDs) exists and Phase 5 does not, constructs the
 * Phase5BuildContext, and delegates to the build pipeline coordinator.
 */
export declare function executePhase5Command(options: Phase5CommandOptions): Promise<Phase5BuildPipelineResult>;
/**
 * Format Phase 5 Build result for human-readable display.
 */
export declare function formatPhase5ForDisplay(result: Phase5BuildPipelineResult): string;
//# sourceMappingURL=phase5.d.ts.map