/**
 * Phase 4 Command
 *
 * Generates Architecture Decision Records (ADRs) and Domain-Driven Design
 * models (DDDs) from the Phase 2 research dossier and Phase 3 SPARC + TDD
 * output:
 *   - Prior Phase Loading (research dossier + SPARC + TDD from disk)
 *   - ADR Generation (citing SPARC sections + dossier items)
 *   - DDD Model Generation (bounded contexts, aggregates, ubiquitous language)
 *
 * Usage:
 *   agentics phase4 --trace <TRACE_ID>
 *   agentics phase4 --latest
 *
 * Error codes:
 *   ECLI-P4-001  Missing Phase 2 or Phase 3 artifacts
 *   ECLI-P4-005  No runs found (--latest with empty runs dir)
 *   ECLI-P4-006  Phase 4 output directory already exists (append-only)
 */
import type { Phase4ADRPipelineResult } from '../pipeline/phase4-adrs/index.js';
export interface Phase4CommandOptions {
    readonly trace?: string;
    readonly latest?: boolean;
    readonly verbose?: boolean;
    readonly format?: 'json' | 'text';
}
/**
 * Execute the `agentics phase4` command.
 *
 * Resolves the Phase 1 run directory (via --trace or --latest), validates
 * that Phase 2 and Phase 3 exist and Phase 4 does not, constructs the
 * Phase4ADRContext, and delegates to the pipeline coordinator.
 */
export declare function executePhase4Command(options: Phase4CommandOptions): Promise<Phase4ADRPipelineResult>;
/**
 * Format Phase 4 result for human-readable display.
 */
export declare function formatPhase4ForDisplay(result: Phase4ADRPipelineResult): string;
//# sourceMappingURL=phase4.d.ts.map