import type { $ZodIssue } from 'zod/v4/core'; export declare class WorkflowError extends Error { constructor(message: string); } export declare class StepInputValidationError extends WorkflowError { readonly stepName: string; readonly issues: readonly $ZodIssue[]; constructor(stepName: string, issues: readonly $ZodIssue[]); } export declare class UnknownStepError extends WorkflowError { readonly stepName: string; constructor(stepName: string); } export declare class DisallowedTransitionError extends WorkflowError { readonly stepName: string; readonly directiveKind: string; readonly target?: string; constructor(stepName: string, directiveKind: string, target?: string); }