/**
 * Task completion logic.
 * @task T4461
 * @epic T4454
 */
import type { Task, TaskRef } from '@cleocode/contracts';
import type { DataAccessor } from '../store/data-accessor.js';
/** Options for completing a task. */
export interface CompleteTaskOptions {
    taskId: string;
    notes?: string;
    changeset?: string;
}
/** Result of completing a task. */
export interface CompleteTaskResult {
    task: Task;
    autoCompleted?: string[];
    unblockedTasks?: Array<Pick<TaskRef, 'id' | 'title'>>;
}
/**
 * Complete a task by ID.
 * Handles dependency checking and optional auto-completion of epics.
 * @task T4461
 */
export declare function completeTask(options: CompleteTaskOptions, cwd?: string, accessor?: DataAccessor): Promise<CompleteTaskResult>;
//# sourceMappingURL=complete.d.ts.map