/**
 * Completion Propagator - Bottom-up completion propagation
 *
 * Propagates completion status from Tasks → ACs → User Stories → Increments
 *
 * Rules:
 * - When all Tasks for AC complete → Mark AC complete
 * - When all ACs for User Story complete → Mark User Story complete
 * - When all User Stories for Increment complete → Mark Increment complete
 */
/**
 * Completion statistics
 */
export interface CompletionStats {
    /** Total items */
    total: number;
    /** Completed items */
    completed: number;
    /** Completion percentage */
    percentage: number;
    /** Is 100% complete */
    isComplete: boolean;
}
/**
 * Propagation result
 */
export interface PropagationResult {
    /** ACs marked complete */
    acsCompleted: number;
    /** User Stories marked complete */
    userStoriesCompleted: number;
    /** Increment marked complete */
    incrementCompleted: boolean;
    /** Errors encountered */
    errors: string[];
}
/**
 * CompletionPropagator - Handles bottom-up completion
 */
export declare class CompletionPropagator {
    /**
     * Propagate completion from Tasks → ACs → User Stories → Increment
     *
     * @param incrementPath - Path to increment
     */
    propagateCompletion(incrementPath: string): Promise<PropagationResult>;
    /**
     * Get completion statistics for an AC
     *
     * @param acId - AC ID (e.g., "AC-US1-01")
     * @param incrementPath - Path to increment
     */
    getAcCompletionStats(acId: string, incrementPath: string): Promise<CompletionStats>;
    /**
     * Get completion statistics for a User Story
     *
     * @param userStoryId - User Story ID (e.g., "US1")
     * @param incrementPath - Path to increment
     */
    getUserStoryCompletionStats(userStoryId: string, incrementPath: string): Promise<CompletionStats>;
    /**
     * Get completion statistics for entire increment
     *
     * @param incrementPath - Path to increment
     */
    getIncrementCompletionStats(incrementPath: string): Promise<CompletionStats>;
    /**
     * Parse ACs from spec.md content
     */
    private parseAcs;
    /**
     * Parse Tasks from tasks.md content
     */
    private parseTasks;
    /**
     * Group ACs by User Story ID
     */
    private groupAcsByUserStory;
    /**
     * Update AC checkbox in content
     */
    private updateAcCheckbox;
}
//# sourceMappingURL=CompletionPropagator.d.ts.map