import type { AgentNodeDefinition, ActionNodeDefinition, CheckpointNodeDefinition, ComputeNodeDefinition, NotifyNodeDefinition, ShellActionNodeDefinition, WorkflowDefinition } from "./types.js"; /** * The largest node identity a bounded client view can carry. Every view that * carries a node identity bounds it at this size, because one client frame is at * most 1 MiB and no view may cut an identity. A longer identity is refused here, * where the workflow still loads, instead of leaving a stored run that no client * can display. */ export declare const NODE_ID_MAX_BYTES: number; export declare function assertValidAgentNode(node: AgentNodeDefinition, nodeId?: string): void; export declare function assertValidComputeNode(node: ComputeNodeDefinition, nodeId?: string): void; export declare function assertValidNotifyNode(node: NotifyNodeDefinition, nodeId?: string): void; export declare function assertValidActionNode(node: ActionNodeDefinition, nodeId?: string): void; export declare function assertValidShellActionNode(node: ShellActionNodeDefinition, nodeId?: string): void; export declare function assertValidCheckpointNode(node: CheckpointNodeDefinition, nodeId?: string): void; export declare function assertValidWorkflowDefinitionShape(definition: WorkflowDefinition, options?: { compiled?: boolean; }): void;