import type { WorkflowState } from '@loopstack/contracts/enums'; import type { BaseWorkflow } from '../base/base-workflow.js'; export type WorkflowArgs = W extends BaseWorkflow ? A : never; export interface WorkflowRunnerOptions { userId: string; appName: string; workspaceId?: string; labels?: string[]; } export interface WorkflowRunnerSyncOptions extends WorkflowRunnerOptions { stateless?: boolean; } export interface RunResult { workflowId: string; workspaceId: string; workerId: string; } export interface SyncRunResult extends RunResult { status: WorkflowState; result: unknown; } export interface StatelessRunResult { status: WorkflowState; result: unknown; } //# sourceMappingURL=workflow-runner.interface.d.ts.map