import { GenericState } from 'src/types/task-method.type'; import { WorkflowConstructor } from '../interfaces/workflow-definition.interface'; export declare const WORKFLOW_METADATA_KEY: unique symbol; export interface WorkflowOptions { name?: string; schedule?: string; firstTask: T; maxRetries?: number; taskTimeout?: number; } export declare function Workflow(options: WorkflowOptions>): (target: WorkflowConstructor) => WorkflowConstructor; //# sourceMappingURL=workflow.decorator.d.ts.map