/** * Task work management operations (start/stop/current). * @task T4462 * @task T4750 * @epic T4454 */ import '../hooks/handlers/index.js'; import type { DataAccessor } from '../store/data-accessor.js'; /** Result of getting current task. */ export interface TaskCurrentResult { currentTask: string | null; currentPhase: string | null; sessionNote: string | null; nextAction: string | null; } /** Result of starting work on a task. */ export interface TaskStartResult { taskId: string; taskTitle: string; previousTask: string | null; } /** Task work history entry. */ export interface TaskWorkHistoryEntry { taskId: string; timestamp: string; } /** * Show current task work state. * @task T4462 * @task T4750 */ export declare function currentTask(cwd?: string, accessor?: DataAccessor): Promise; /** * Start working on a specific task. * @task T4462 * @task T4750 */ export declare function startTask(taskId: string, cwd?: string, accessor?: DataAccessor): Promise; /** * Stop working on the current task. * @task T4462 * @task T4750 */ export declare function stopTask(cwd?: string, accessor?: DataAccessor): Promise<{ previousTask: string | null; }>; /** * Get task work history from session notes. * @task T4462 * @task T4750 */ export declare function getWorkHistory(cwd?: string, accessor?: DataAccessor): Promise; /** * Get task work history (canonical verb alias for dispatch layer). * @task T5323 */ export declare const getTaskHistory: typeof getWorkHistory; //# sourceMappingURL=index.d.ts.map