import { IState, WorkflowContext, LoggerAdapter } from '../types'; export declare enum ExecutionAction { NEXT = "next", GOTO = "goto", SUSPEND = "suspend", COMPLETE = "complete" } export interface ExecutionResult { action: ExecutionAction; targetState?: TState; data?: Record; output?: unknown; error?: Error; suspensionMetadata?: { waitingFor?: string; }; } export declare class StateExecutor { private readonly logger?; constructor(logger?: LoggerAdapter | undefined); execute, TOutputs extends Record, TCurrentState extends keyof TOutputs>(state: IState, context: WorkflowContext, currentState: TCurrentState): Promise>; private executeWithTimeout; private executeWithoutTimeout; private executeStateLogic; private createActions; private callLifecycleHook; } //# sourceMappingURL=state-executor.d.ts.map