/** * Blocker computation — coreTaskBlockers. * @task T10064 * @epic T9834 */ import type { BottleneckTask } from '@cleocode/contracts'; /** * Show blocked tasks and analyze blocking chains. * * @param projectRoot - Absolute path to the CLEO project root directory * @param params - Optional analysis configuration * @param params.analyze - When true, compute transitive blocking chains * @param params.limit - Maximum number of blocked tasks to return (default: 20) * @returns Blocked tasks with optional blocking chains, critical bottleneck tasks, and a summary * * @remarks * Collects both explicitly blocked tasks and dependency-blocked pending tasks. * Critical blockers are the top 5 tasks that appear most frequently in blocking chains. * * @example * ```typescript * const result = await coreTaskBlockers('/project', { analyze: true, limit: 10 }); * console.log(result.summary, result.criticalBlockers); * ``` * * @task T4790 */ export declare function coreTaskBlockers(projectRoot: string, params?: { analyze?: boolean; limit?: number; }): Promise<{ blockedTasks: Array<{ id: string; title: string; status: string; depends?: string[]; blockingChain: string[]; }>; criticalBlockers: BottleneckTask[]; summary: string; total: number; limit: number; }>; //# sourceMappingURL=task-blockers.d.ts.map