import type { CliToolRegistry } from '../workflow-tools';
import type { CliWorkflowContext, GoalDecompositionResult, ToolRegistry } from './types';
/**
 * Decomposes a high-level goal into actionable tasks
 */
export declare class GoalDecomposer<TTools extends ToolRegistry = CliToolRegistry> {
    #private;
    constructor(context: CliWorkflowContext<TTools>);
    /**
     * Decompose goal into implementation plan
     */
    decompose(goal: string): Promise<GoalDecompositionResult>;
    /**
     * Map string priority to enum
     */
    private mapPriority;
    /**
     * Build system prompt for goal decomposition
     */
    private buildSystemPrompt;
    /**
     * Build decomposition prompt
     */
    private buildDecompositionPrompt;
    /**
     * Build workflow input for task
     */
    private buildWorkflowInput;
    /**
     * Extract dependencies between tasks
     */
    private extractDependencies;
    /**
     * Gather context about the codebase
     */
    private gatherCodebaseContext;
}
//# sourceMappingURL=goal-decomposer.d.ts.map