/**
 * Step Manager - Manages individual step execution
 */
import { EventEmitter } from 'events';
import type { WorkflowStep, WorkflowContext, StepResult } from './types.js';
export declare class StepManager extends EventEmitter {
    private actionHandlers;
    constructor();
    /**
     * Register built-in action handlers
     */
    private registerBuiltInActions;
    /**
     * Register a custom action handler
     */
    registerAction(name: string, handler: (context: WorkflowContext) => Promise<StepResult>): void;
    /**
     * Check if an action is registered
     */
    hasAction(name: string): boolean;
    /**
     * Get all registered action names
     */
    getRegisteredActions(): string[];
    /**
     * Execute a step
     */
    executeStep(step: WorkflowStep, context: WorkflowContext, options?: {
        timeout?: number;
    }): Promise<StepResult>;
    /**
     * Execute with timeout
     */
    private executeWithTimeout;
    /**
     * Evaluate a condition
     */
    evaluateCondition(condition: string | ((context: WorkflowContext) => boolean), context: WorkflowContext): boolean;
}
