/**
 * Agent Invoker - Orchestrates AI agent invocations for plan generation
 *
 * This module provides utilities to invoke the Architect and Planner
 * agents within the Claude Code ecosystem.
 *
 * @module cli/commands/plan/agent-invoker
 * @since v0.22.0 (Increment 0039)
 */
import { PlanPipelineContext } from './types.js';
/**
 * Agent invocation result
 */
export interface AgentInvocationResult {
    success: boolean;
    content?: string;
    error?: string;
    agentName: string;
    executionMode: 'interactive' | 'instruction';
}
/**
 * Agent Invoker - Coordinates agent invocations for plan generation
 */
export declare class AgentInvoker {
    /**
     * Invoke Architect Agent to generate plan.md
     *
     * @param context - Pipeline context with spec.md content
     * @returns Agent invocation result with generated plan.md content
     */
    invokeArchitectAgent(context: PlanPipelineContext): Promise<AgentInvocationResult>;
    /**
     * Invoke Planner Agent to generate tasks.md
     *
     * @param context - Pipeline context with spec.md and plan.md content
     * @returns Agent invocation result with generated tasks.md content
     */
    invokePlannerAgent(context: PlanPipelineContext): Promise<AgentInvocationResult>;
    /**
     * Extract requirements from spec.md
     */
    private extractRequirements;
    /**
     * Extract user stories from spec.md
     */
    private extractUserStories;
    /**
     * Extract acceptance criteria from spec.md
     */
    private extractAcceptanceCriteria;
    /**
     * Extract implementation phases from plan.md
     */
    private extractPhases;
    /**
     * Extract components from plan.md
     */
    private extractComponents;
    /**
     * Build prompt for Architect Agent
     */
    private buildArchitectPrompt;
    /**
     * Build prompt for Planner Agent
     */
    private buildPlannerPrompt;
    /**
     * Generate plan.md content (temporary implementation)
     *
     * This generates a basic plan structure. In production, this would be
     * replaced by actual Architect Agent invocation.
     */
    generateTemporaryPlan(context: PlanPipelineContext): string;
    /**
     * Generate tasks.md content (temporary implementation)
     */
    generateTemporaryTasks(context: PlanPipelineContext): string;
}
//# sourceMappingURL=agent-invoker.d.ts.map