import { DynamicModule, Type } from "@nestjs/common"; import { Interceptor } from "./interceptor/index.js"; import type { HatchetModuleConfig } from "./hatchet.module-config.js"; import type { AnyCallableRef } from "./references/index.js"; /** * Extra options for the module (processed at module definition time). */ interface HatchetModuleExtras { /** * Optional interceptor classes to intercept all task/workflow executions. * Interceptors execute in array order (first = outermost). */ interceptors?: Type[] | undefined; } declare const ConfigurableModuleClass: import("@nestjs/common").ConfigurableModuleCls; export declare class HatchetModule extends ConfigurableModuleClass { /** * Registers workflows and tasks for the global worker. * Call this in feature modules to register their hosts. */ static forFeature(...refs: AnyCallableRef[]): DynamicModule; } export {};