export interface TaskUpdateParams {
    taskId: string;
    accountId: string;
    name?: string;
    description?: string;
    /**
     * Status enum (`running` discriminates "action mid-flight" from `active`
     * ("commitment accepted")). Transition
     * to `completed` or `failed` auto-sets `completedAt`. Transition to
     * `failed` also requires `errorMessage` to be non-empty.
     */
    status?: "pending" | "active" | "running" | "completed" | "failed" | "cancelled";
    priority?: "low" | "normal" | "high" | "urgent";
    dueDate?: string;
    /** Appended to notes with a timestamp — never overwrites */
    note?: string;
    /**
     * append a single step label to the Task's `steps[]` array.
     * Atomic Cypher SET t.steps = coalesce(t.steps, []) + $step (no
     * read-modify-write race). Each appendStep call adds one entry; emit
     * one call per phase of the action.
     */
    appendStep?: string;
    /**
     * error message stored on the Task when status transitions
     * to `failed`. Required for the `failed` transition; empty errorMessage
     * with status=failed is rejected.
     */
    errorMessage?: string;
}
export declare function workUpdate(params: TaskUpdateParams): Promise<void>;
//# sourceMappingURL=work-update.d.ts.map