UNPKG

n8n

Version:

n8n Workflow Automation Tool

15 lines (14 loc) 555 B
import type { InstanceAiAgentPreviewHandoffContext } from '@n8n/api-types'; import type { AgentExecutionService } from '../agents/agent-execution.service'; export type AgentPreviewHandoffResult = { block: string; titleFallback: string; target: { agentId: string; projectId: string; }; }; export declare function resolveAgentPreviewHandoff(context: InstanceAiAgentPreviewHandoffContext, options: { projectId: string; getThreadDetail: AgentExecutionService['getThreadDetail']; }): Promise<AgentPreviewHandoffResult>;