import type { ToolCall } from "../types.js"; export type TaskUpdateState = "pending" | "in_progress" | "done" | "failed" | "skipped"; export interface TaskUpdateIntent { readonly call: ToolCall; readonly taskId: string; readonly state: string; } export interface BatchTaskDescriptor { readonly taskId: string; readonly title: string; readonly targetState: string; } export interface DependencyReminderInput { readonly taskId: string; readonly title: string; readonly targetState: string; readonly blockers: readonly { readonly id: string; readonly title: string; }[]; } export declare function readTaskUpdateArgs(call: ToolCall): { taskId: string; state: string; } | undefined; export declare function distinctAdvancingTaskIds(intents: readonly TaskUpdateIntent[]): string[]; export declare function advancingStateCounts(intents: readonly TaskUpdateIntent[]): { done: number; inProgress: number; }; export declare function isSimultaneousTaskAdvance(intents: readonly TaskUpdateIntent[]): boolean; export declare function batchUpdateSignature(intents: readonly TaskUpdateIntent[]): string; export declare function dependencySignature(taskId: string, state: string, blockerIds: readonly string[]): string; export declare function buildMultiUpdateReminder(descriptors: readonly BatchTaskDescriptor[]): string; export declare function buildDependencyReminder(input: DependencyReminderInput): string; export declare function openingTaskIds(intents: readonly TaskUpdateIntent[]): string[]; export declare function buildMultiOpenRejection(descriptors: readonly BatchTaskDescriptor[]): string; export declare function multiOpenToast(count: number): string; export declare function multiUpdateToast(count: number): string; export declare function dependencyToast(taskId: string): string;