import type { SessionMetadata } from '../session/types.js'; export type ExecutionOrigin = 'chat' | 'task' | 'workflow' | 'automation' | 'browser' | 'proactive'; export type ExecutionTrigger = 'user' | 'schedule' | 'webhook' | 'proactive' | 'retry'; export interface ExecutionContext { runId: string; sessionKey: string; channel: string; agentId?: string; strategy?: string; taskId?: string; projectId?: string; origin: ExecutionOrigin; triggerKind: ExecutionTrigger; parentRunId?: string; contextTraceId?: string; } export declare function resolveExecutionContext(input: { runId: string; sessionKey: string; channel: string; metadata: SessionMetadata; agentId?: string; }): ExecutionContext;