import type { TaskGenerationExpectation } from '../../../core/task-parser.js'; declare function claimTaskUnlocked(taskText: string | null, project: string, agentId: string, taskId?: string | null, dispatchGeneration?: string | null): { success: boolean; message: string; task_id?: undefined; agent?: undefined; claimed_at?: undefined; dispatch_generation?: undefined; } | { success: boolean; message: string; task_id: string; agent: string; claimed_at: string; dispatch_generation: string; }; declare function unclaimTaskUnlocked(taskText: string | null, project: string, taskId?: string | null, ownership?: TaskGenerationExpectation): { success: false; message: string; stale: boolean; } | { success: boolean; message: string; task_id?: undefined; } | { success: boolean; message: string; task_id: string; }; declare function pauseTaskUnlocked(taskText: string | null, project: string, taskId?: string | null, ownership?: TaskGenerationExpectation): { success: false; message: string; stale: boolean; } | { success: boolean; message: string; }; declare function resumeTaskUnlocked(taskText: string | null, project: string, taskId?: string | null, ownership?: TaskGenerationExpectation): { success: false; message: string; stale: boolean; } | { success: boolean; message: string; }; declare function requestApprovalTaskUnlocked(taskText: string | null, project: string, taskId?: string | null, ownership?: TaskGenerationExpectation): { success: false; message: string; stale: boolean; } | { success: boolean; message: string; }; declare function approveTaskUnlocked(taskText: string | null, project: string, taskId?: string | null, ownership?: TaskGenerationExpectation): { success: false; message: string; stale: boolean; } | { success: boolean; message: string; }; declare function clearApprovalTaskUnlocked(taskText: string | null, project: string, taskId?: string | null, ownership?: TaskGenerationExpectation): { success: false; message: string; stale: boolean; } | { success: boolean; message: string; }; declare function blockTaskUnlocked(taskText: string | null, project: string, reason: string, taskId?: string | null, ownership?: TaskGenerationExpectation): { success: false; message: string; stale: boolean; } | { success: boolean; message: string; task_id?: undefined; } | { success: boolean; message: string; task_id: string; }; declare function pendingTaskUnlocked(taskText: string | null, project: string, taskId?: string | null, ownership?: TaskGenerationExpectation): { success: false; message: string; stale: boolean; } | { success: boolean; message: string; task_id?: undefined; } | { success: boolean; message: string; task_id: string; }; declare function unblockTaskUnlocked(taskText: string | null, project: string, taskId?: string | null, ownership?: TaskGenerationExpectation): { success: false; message: string; stale: boolean; } | { success: boolean; message: string; task_id?: undefined; } | { success: boolean; message: string; task_id: string; }; declare function reopenTaskUnlocked(taskText: string | null, project: string, taskId?: string | null, ownership?: TaskGenerationExpectation): { success: false; message: string; stale: boolean; } | { success: boolean; message: string; task_id?: undefined; } | { success: boolean; message: string; task_id: string; }; declare const claimTask: typeof claimTaskUnlocked; declare const unclaimTask: typeof unclaimTaskUnlocked; declare const pauseTask: typeof pauseTaskUnlocked; declare const resumeTask: typeof resumeTaskUnlocked; declare const requestApprovalTask: typeof requestApprovalTaskUnlocked; declare const approveTask: typeof approveTaskUnlocked; declare const clearApprovalTask: typeof clearApprovalTaskUnlocked; declare const blockTask: typeof blockTaskUnlocked; declare const pendingTask: typeof pendingTaskUnlocked; declare const unblockTask: typeof unblockTaskUnlocked; declare const reopenTask: typeof reopenTaskUnlocked; export { approveTask, blockTask, claimTask, clearApprovalTask, pauseTask, pendingTask, reopenTask, requestApprovalTask, resumeTask, unblockTask, unclaimTask, };