export type ImageBlock = { type: "image"; data: string; mimeType: string; }; export declare const IMAGE_FETCH_TRIES = 3, IMAGE_TRY_TIMEOUT_MS = 5000, IMAGE_BUDGET_MS = 10000; export declare function fetchImage(url: string, o?: { fetchImpl?: typeof fetch; mimeType?: string; deadline?: number; maxBytes?: number; }): Promise;