/** * Resolve an escalation record. Called by the interceptor after * detecting a re-run (resolver data present in the envelope). * This makes resolution durable: if the server crashes after * signaling but before DB update, the workflow replays and * retries this activity. */ export declare function ltResolveEscalation(input: { escalationId: string; resolverPayload: Record; }): Promise; /** * Claim an escalation to a specific user. Used for auto-assignment * when the system creates an advisory escalation (e.g., rounds exhausted). */ export declare function ltClaimEscalation(input: { escalationId: string; userId: string; durationMinutes: number; }): Promise; /** * Enrich an escalation record with signal routing metadata and workflow * context so the resolution API can signal the paused workflow directly * and the dashboard can display full context. Optionally auto-claims * the escalation to the initiating user. */ export declare function ltEnrichEscalationRouting(input: { escalationId: string; signalRouting: { taskQueue: string; workflowType: string; workflowId: string; signalId: string; }; taskId?: string; claimForUserId?: string; }): Promise; /** * Create an escalation record when a workflow needs human intervention. */ export declare function ltCreateEscalation(input: { type: string; subtype: string; description?: string; priority?: number; taskId?: string; originId?: string; parentId?: string; role: string; envelope: string; metadata?: Record; escalationPayload?: string; workflowId?: string; taskQueue?: string; workflowType?: string; traceId?: string; spanId?: string; }): Promise;