import { type TaskCommand, type TaskView } from "#tasks/types.js";
export type TaskTransitionResult = {
    readonly action: "accepted";
    readonly view: TaskView;
} | {
    readonly action: "noop";
    readonly view: TaskView;
} | {
    readonly action: "rejected";
    readonly view: TaskView;
    readonly reason: string;
};
/** Pure, executor-neutral transition function for one durable task. */
export declare function applyTaskTransition(view: TaskView, command: TaskCommand): TaskTransitionResult;
