import type { ResolvedHandle } from './types'; /** * Resolve a workflowId to the (taskQueue, workflowName) pair that * HotMesh needs to get a workflow handle. * * 1. Look up lt_tasks by workflow_id — returns workflow_type and task_queue. * 2. If no task record (e.g., orchestrators/containers, or a child running in * another app), fall back to `.jobs` (entity) + lt_config_workflows * (task_queue). `appId` selects the HotMesh namespace to scan — children of * a workflow live under their own app's schema, not always `durable`. * 3. If task_queue is null (pre-migration record), fall back to lt_config_workflows. * 4. Throws if the workflow cannot be resolved. */ export declare function resolveWorkflowHandle(workflowId: string, appId?: string): Promise;