/**
 * Phase 2 Command
 *
 * Deep Research phase — extracts structured knowledge from Phase 1 artifacts:
 *   - Phase 1 Artifact Loading + Validation
 *   - Research Dossier (structured extraction with cross-references)
 *
 * SPARC, TDD, ADRs, and DDDs are generated in subsequent phases (3, 4).
 *
 * Usage:
 *   agentics phase2 --trace <TRACE_ID>
 *   agentics phase2 --latest
 *
 * Error codes:
 *   ECLI-P2-001  Missing or unreadable Phase 1 artifacts
 *   ECLI-P2-003  Phase 2 output directory already exists (append-only)
 *   ECLI-P2-004  No runs found (--latest with empty runs dir)
 */
import type { Phase2PipelineResult } from '../pipeline/phase2/index.js';
export interface Phase2CommandOptions {
    readonly trace?: string;
    readonly latest?: boolean;
    readonly verbose?: boolean;
    readonly format?: 'json' | 'text';
}
/**
 * Execute the `agentics phase2` command.
 *
 * Resolves the Phase 1 run directory (via --trace or --latest), validates
 * that Phase 2 has not already been generated, constructs the Phase2Context,
 * and delegates to the pipeline coordinator.
 */
export declare function executePhase2Command(options: Phase2CommandOptions): Promise<Phase2PipelineResult>;
/**
 * Format Phase2 result for human-readable display.
 */
export declare function formatPhase2ForDisplay(result: Phase2PipelineResult): string;
//# sourceMappingURL=phase2.d.ts.map