import type { LTYamlWorkflowRecord } from '../../types/yaml-workflow'; interface InvokeOptions { data?: Record; sync?: boolean; timeout?: number; execute_as?: string; userId?: string; /** Source identifier for metadata injection (e.g., 'cron') */ source?: string; /** Deterministic job ID for idempotent execution (agent subscriptions) */ jobId?: string; } /** * Invoke a YAML workflow with scope injection. * Shared by HTTP route and cron callback. */ export declare function invokeYamlWorkflow(wf: LTYamlWorkflowRecord, options?: InvokeOptions): Promise<{ job_id: string; result?: unknown; }>; export {};