/** * Conversion utilities between Strands SDK content blocks and A2A protocol parts. * * Supports text, images, videos, documents, and structured data. */ import type { Part } from '@a2a-js/sdk'; import type { ContentBlock } from '../types/messages.js'; /** * Converts A2A protocol parts to Strands SDK content blocks. * * Handles text, file (image/video/document), and structured data parts, * @param parts - Array of A2A protocol parts * @returns Array of Strands content blocks */ export declare function partsToContentBlocks(parts: Part[]): ContentBlock[]; /** * Converts Strands SDK content blocks to A2A protocol parts. * * Supports text, image, video, and document blocks. Image and video blocks * with byte sources are encoded as base64 file parts; URL-based sources * become URI file parts. Unsupported block types are silently skipped. * * @param blocks - Array of Strands content blocks * @returns Array of A2A parts */ export declare function contentBlocksToParts(blocks: ContentBlock[]): Part[]; //# sourceMappingURL=adapters.d.ts.map