import { WorkflowRun } from '../models/WorkflowRun.js'; import { WorkflowRunRepository } from '../repositories/WorkflowRun.repository.js'; import { WorkflowRunEventsService } from '../services/WorkflowRunEvents.service.js'; export interface CreateWorkflowRunOptions { id?: string; parentWorkflowRunId?: string; parentWorkflowRunActivityId?: string; } export type CreateWorkflowRunManyOptions = Omit; export declare class CreateWorkflowRun { private readonly workflowRunRepository; private readonly events; constructor(workflowRunRepository: WorkflowRunRepository, events: WorkflowRunEventsService); create(workflowId: string, input: unknown, options?: CreateWorkflowRunOptions): Promise; createMany(workflowId: string, inputs: readonly unknown[], options?: CreateWorkflowRunManyOptions): Promise; }