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): import("ai").Tool<{}, { error: string; }> | import("ai").Tool<{ reason: string; targetAgentId: string; summary?: string | undefined; }, { __handoff: true; targetAgentId: string; targetAgent: string; reason: string; summary: string | undefined; }>; export declare function isHandoffResult(result: unknown): result is HandoffResult;