/**
 * Pure DAG node state transitions.
 *
 * Extracted from OrchestrationStateManager (Phase 4b).
 */
import type { DagNode } from "../dag.js";
export type NodeTransitionEvent = {
    type: "start";
    startedAt: string;
} | {
    type: "complete";
    completedAt: string;
    durationMs: number;
    success: boolean;
    retries: number;
} | {
    type: "retry";
    retries: number;
} | {
    type: "fail";
    completedAt: string;
    error?: string;
};
export declare function transitionNode(node: DagNode, event: NodeTransitionEvent): DagNode;
