import type { AiSdkTool } from './Tool.js'; import type { AgentConfig } from '../types/index.js'; export interface HandoffResult { __handoff: true; targetAgentId: string; targetAgent?: string; reason: string; summary?: string; message?: string; } export declare function createHandoffTool(availableAgents: AgentConfig[], currentAgentId?: string): AiSdkTool; export declare function isHandoffResult(result: unknown): result is HandoffResult;