/**
 * Composite planning view - aggregates multiple task queries for planning.
 * @task T4914
 * @epic T4454
 */
import type { Task } from '@cleocode/contracts';
/** In-progress epic entry. */
export interface InProgressEpic {
    epicId: string;
    epicTitle: string;
    activeTasks: number;
    completionPercent: number;
}
/** Ready task entry with leverage analysis. */
export interface ReadyTask extends Pick<Task, 'id' | 'title' | 'priority'> {
    epicId: string;
    leverage: number;
    score: number;
    reasons: string[];
}
/** Blocked task entry. */
export interface BlockedTask extends Pick<Task, 'id' | 'title'> {
    blockedBy: string[];
    blocksCount: number;
}
/** Open bug entry. */
export interface OpenBug extends Pick<Task, 'id' | 'title' | 'priority'> {
    epicId: string;
}
/** Planning metrics. */
export interface PlanMetrics {
    totalEpics: number;
    activeEpics: number;
    totalTasks: number;
    actionable: number;
    blocked: number;
    openBugs: number;
    avgLeverage: number;
}
/** Composite planning view result. */
export interface PlanResult {
    inProgress: InProgressEpic[];
    ready: ReadyTask[];
    blocked: BlockedTask[];
    openBugs: OpenBug[];
    metrics: PlanMetrics;
}
/**
 * Build composite planning view.
 * @task T4914
 */
export declare function coreTaskPlan(projectRoot: string): Promise<PlanResult>;
//# sourceMappingURL=plan.d.ts.map