import type { ActivityDefinition } from '../core/activity.ts'; import type { Engine } from '../core/engine.ts'; import type { WorkflowDefinition } from '../core/types.ts'; /** * Convert a plain-object `ActivityDefinition` into a callable function that * satisfies the engine's `isActivityDefinition` check (which requires a * function with `name` and `execute` own properties). */ export declare function toActivityCallable(definition: ActivityDefinition): (...args: unknown[]) => unknown; /** * Register a map of workflow definitions and a list of activity definitions * on an engine instance. Plain-object activities are normalized to callables * before registration. */ export declare function registerModuleExports(engine: Engine, registrations: Record, activities: ActivityDefinition[]): void;