import type { Experimental_DownloadFunction } from 'ai';
/**
 * A ready-made `experimental_download` for {@link import('./ai-sdk-model.js').AiSdkModelOptions}:
 * plain-fetches every URL the model can't consume natively, with NO hostname policy — unlike the
 * AI SDK's default downloader, which refuses localhost/private hostnames (SSRF guard) and kills
 * attachment parts staged against a non-public object store (local MinIO in dev, VPC-only S3).
 *
 * Only safe because agent attachment URLs come exclusively from the host's own attachment-staging
 * SPI presigner — never from user input. Do NOT reuse this for URLs a user can influence.
 *
 * Mirrors the default's routing otherwise: URLs the model supports natively are left to the
 * provider (`null`), everything else is fetched and inlined as bytes.
 */
export declare function attachmentFetchDownloader(fetchImpl?: typeof fetch): Experimental_DownloadFunction;
//# sourceMappingURL=attachment-fetch-downloader.d.ts.map