/** * Label management core module. * @task T4538 * @epic T4454 */ import { type EngineResult } from '../engine-result.js'; import type { DataAccessor } from '../store/data-accessor.js'; interface LabelInfo { label: string; count: number; statuses: Record; } /** List all labels with task counts. */ export declare function listLabels(cwd?: string, accessor?: DataAccessor): Promise; /** Show tasks with a specific label. */ export declare function showLabelTasks(label: string, cwd?: string, accessor?: DataAccessor): Promise>; /** Get detailed label statistics. */ export declare function getLabelStats(cwd?: string, accessor?: DataAccessor): Promise>; /** * List all labels used in tasks, wrapped in EngineResult. * * @param projectRoot - Absolute path to the project root * @returns EngineResult with labels array and count * * @task T1568 * @epic T1566 */ export declare function taskLabelList(projectRoot: string): Promise>; /** * Show tasks associated with a label, wrapped in EngineResult. * * @param projectRoot - Absolute path to the project root * @param label - Label to look up * @returns EngineResult with tasks for this label * * @task T1568 * @epic T1566 */ export declare function taskLabelShow(projectRoot: string, label: string): Promise>>; export {}; //# sourceMappingURL=labels.d.ts.map