import type { RiskLevel } from './schemas.js';
export type StepType = 'spec' | 'review' | 'implement' | 'test' | 'deploy';
export type StepStatus = 'pending' | 'in_progress' | 'completed' | 'failed' | 'skipped';
export type Complexity = 'low' | 'medium' | 'high';
export interface TaskStep {
    id: string;
    order: number;
    type: StepType;
    description: string;
    dependencies: string[];
    estimatedFiles: number;
    riskLevel: RiskLevel;
    status: StepStatus;
}
export interface DecomposedTask {
    id: string;
    originalPrompt: string;
    steps: TaskStep[];
    estimatedComplexity: Complexity;
    requiresConfirmation: boolean;
    createdAt: string;
}
export declare class CircularDependencyError extends Error {
    constructor(cycle: string[]);
}
export declare class TaskDecomposer {
    decompose(userPrompt: string): DecomposedTask;
    private analyzeKeywordComplexity;
    private estimateFileCount;
    private fileCountToComplexity;
    private resolveComplexity;
    private determineStepTypes;
    private buildSteps;
    private assessStepRisk;
    private generateDescription;
    validateDAG(steps: TaskStep[]): void;
}
//# sourceMappingURL=TaskDecomposer.d.ts.map