import { extractTransferData, isTransferTask } from "./types.js";
import { ResolvedRef } from "@inkeep/agents-core";

//#region src/domains/run/a2a/transfer.d.ts
/**
 * Executes a transfer by sending the original message to the target agent
 */
declare function executeTransfer({
  tenantId,
  threadId,
  projectId,
  agentId,
  targetSubAgentId,
  ref
}: {
  tenantId: string;
  threadId: string;
  projectId: string;
  agentId: string;
  targetSubAgentId: string;
  ref: ResolvedRef;
}): Promise<{
  success: boolean;
  targetSubAgentId: string;
}>;
//#endregion
export { executeTransfer, extractTransferData, isTransferTask as isTransferResponse };