import { EventEmitter } from 'events';
import { ProcessDefinition, ProcessExecution } from './types.js';
import { ProcessStore } from './process-store.js';
import { AgentOrchestrator } from '../agent-orchestration/orchestrator.js';
export declare class ProcessEngine extends EventEmitter {
    private executions;
    private activityExecutor;
    private variableResolver;
    private store;
    private agentOrchestrator;
    constructor(store: ProcessStore, agentOrchestrator: AgentOrchestrator);
    executeProcess(process: ProcessDefinition, triggerId?: string, initialVariables?: Record<string, any>): Promise<ProcessExecution>;
    private executeActivity;
    private handleActivityError;
    pauseExecution(executionId: string): Promise<void>;
    resumeExecution(executionId: string): Promise<void>;
    cancelExecution(executionId: string): Promise<void>;
    getExecution(executionId: string): ProcessExecution | undefined;
    private log;
    private createProcessError;
    private generateExecutionId;
}
//# sourceMappingURL=process-engine.d.ts.map