/** * Image downloader for Azure DevOps. * * Downloads images from ADO URLs (attachments, inline images in HTML fields) * and converts them to base64 for MCP image content blocks. * * Handles ADO authentication by injecting the PAT as a Basic auth header. */ /** * Download an image from a URL and return as base64. * Supports ADO authenticated URLs. */ export declare function downloadImageAsBase64(url: string, pat: string): Promise<{ base64: string; mimeType: string; } | null>; /** * Extract image URLs from ADO HTML content. * * ADO inline images come in several formats: * - * - * - data:image URIs (already base64, rare) */ export declare function extractImageUrls(html: string | undefined | null): string[]; /** * Extract attachment URLs from work item relations. * Returns only AttachedFile relations that look like images. */ export declare function extractAttachmentInfo(relations: Array<{ rel?: string; url?: string; attributes?: Record; }>): Array<{ name: string; url: string; isImage: boolean; }>; //# sourceMappingURL=image-downloader.d.ts.map