import type { AnyEventDefinition } from "../../events/index.js"; import type { CreateBaseWorkflowOpts } from "@hatchet-dev/typescript-sdk"; /** * Properties we enhance beyond SDK types. */ interface EnhancedProperties { name: string; onEvents?: ReadonlyArray; } type PassthroughProperties = Omit; /** * Enhanced HostOpts for @Host() decorator. */ export type HostOpts = EnhancedProperties & PassthroughProperties; /** * Decorator to mark a class as a host (for either a workflow or a task). */ export declare const Host: (opts: HostOpts) => ClassDecorator; export {};