import { ResumeOptions } from './workflow-executor'; import { WorkflowExecution } from '../types'; export declare abstract class ExecutableWorkflow = Record> { private engine?; protected instanceFactory?: (classType: new (...args: any[]) => T) => T; /** * Set the instance factory for dependency injection. * This is typically called by the DI container (e.g., NestJS) or can be injected via constructor. */ setInstanceFactory(factory: (classType: new (...args: any[]) => T) => T): void; /** * Get or create the workflow engine for this workflow. */ private getEngine; /** * Execute the workflow with the given data. */ execute(data: TData, executionId?: string): Promise>; /** * Resume a suspended workflow execution. */ resume(executionId: string, options?: ResumeOptions): Promise>; /** * Get a workflow execution by ID. */ getExecution(executionId: string): Promise | null>; forceReleaseGroupLock(groupId: string): Promise<{ workflowName: string; groupId: string; clearedExecutions: string[]; hadHardLock: boolean; }>; } //# sourceMappingURL=executable-workflow.d.ts.map