import type { WorkflowCtx } from "../../execution/index.js"; import type { ContextMethodKeys, WorkflowHostCtor } from "../../references/shared.js"; import type { CreateWorkflowTaskOpts } from "@hatchet-dev/typescript-sdk"; export type WorkflowTaskOpts> = Omit & { parents?: ContextMethodKeys, WorkflowCtx>[]; }; /** * Decorator to mark a method as a workflow task. */ export declare function WorkflowTask>(opts: WorkflowTaskOpts): MethodDecorator;