import type { LTYamlWorkflowRecord } from '../../../types/yaml-workflow';
/**
 * Register HotMesh workers for all activities in a YAML workflow.
 * Each worker delegates based on tool_source:
 * - 'db'  -> callDbTool() (internal DB MCP server)
 * - 'mcp' -> mcpClient.callServerTool() (external MCP servers)
 * - 'llm' -> callLLM() with prompt template interpolation
 */
export declare function registerWorkersForWorkflow(workflow: LTYamlWorkflowRecord): Promise<void>;
/**
 * Register workers for all active YAML workflows.
 * Groups by app_id so flows sharing a namespace share a single engine/connection pool.
 * Called at startup in workers/index.ts.
 */
export declare function registerAllActiveWorkers(): Promise<void>;
