import type { WorkflowState } from '../workflow-state'; export type StateUpdater = Partial | ((state: TState) => Partial);