import type { AgentChatAttachment } from "../agent/types.js"; import type { Part } from "./types.js"; /** * Turn the URL file parts of an inbound A2A message into chat attachments, so * a delegated turn reads them through the same pipeline as a chat upload. * Parts that cannot be fetched are named in `unreadable` rather than dropped. */ export declare function a2aFilePartsToAttachments(parts: readonly Part[]): { attachments: AgentChatAttachment[]; unreadable: string[]; };