/**
 * Task update logic.
 * @task T4461
 * @epic T4454
 */
import type { Task, TaskPriority, TaskSize, TaskStatus, TaskType } from '@cleocode/contracts';
import type { DataAccessor } from '../store/data-accessor.js';
/** Options for updating a task. */
export interface UpdateTaskOptions {
    taskId: string;
    title?: string;
    status?: TaskStatus;
    priority?: TaskPriority;
    type?: TaskType;
    size?: TaskSize;
    phase?: string;
    description?: string;
    labels?: string[];
    addLabels?: string[];
    removeLabels?: string[];
    depends?: string[];
    addDepends?: string[];
    removeDepends?: string[];
    notes?: string;
    acceptance?: string[];
    files?: string[];
    blockedBy?: string;
    parentId?: string | null;
    noAutoComplete?: boolean;
    /** RCASD-IVTR+C pipeline stage transition target. Must be >= current stage. @task T060 */
    pipelineStage?: string;
}
/** Result of updating a task. */
export interface UpdateTaskResult {
    task: Task;
    changes: string[];
}
/**
 * Update a task's fields.
 * @task T4461
 */
export declare function updateTask(options: UpdateTaskOptions, cwd?: string, accessor?: DataAccessor): Promise<UpdateTaskResult>;
//# sourceMappingURL=update.d.ts.map