import { Logger } from "@empiricalrun/shared-types/chat-agent"; export interface FetchedImage { buffer: ArrayBuffer; contentType: string | null; } /** * Fetch a remote image, using Cloudflare's image transform URL to downscale * large images on the fly. Falls back to a direct fetch if the transform * request fails (e.g. unsupported format, CF feature not enabled). * * Returns both the image buffer and the actual content type from the response, * since CF transforms may convert the format (e.g. PNG → JPEG). */ export declare function fetchAndDownscaleImage(sourceUrl: string, logger: Logger): Promise; //# sourceMappingURL=utils.d.ts.map