import { CacheProviderFactory } from "astro"; //#region src/cache/runtime.d.ts interface CloudflareCacheConfig { /** * Name of the Cache API cache to use. * @default "emdash" */ cacheName?: string; /** * D1 bookmark cookie name. Responses whose only Set-Cookie is this * bookmark will have it stripped before caching. Responses with any * other Set-Cookie headers will not be cached. * @default "__em_d1_bookmark" */ bookmarkCookie?: string; /** * Cloudflare Zone ID. Required for tag-based invalidation. * If not provided, reads from `zoneIdEnvVar` at runtime. */ zoneId?: string; /** * Environment variable name containing the Zone ID. * @default "CF_ZONE_ID" */ zoneIdEnvVar?: string; /** * Cloudflare API token with Cache Purge permission. * If not provided, reads from `apiTokenEnvVar` at runtime. */ apiToken?: string; /** * Environment variable name containing the API token. * @default "CF_CACHE_PURGE_TOKEN" */ apiTokenEnvVar?: string; } declare const factory: CacheProviderFactory; //#endregion export { CloudflareCacheConfig, factory as default };