export interface Env { SITEMAP_DB: D1Database; SITEMAP_BUCKET: R2Bucket; BASE_URL?: string; HYDRANT_URL?: string; // a workers vpc service onto the hydrant node with the tunnel, for /repos, which // isn't public. without it /repos goes to HYDRANT_URL, so only a local hydrant works HYDRANT?: Fetcher; SHARD_MAX_URLS?: string; SHARD_MAX_BYTES?: string; SYNC_BATCH_SIZE?: string; } export interface RecordValue { createdAt?: string; [key: string]: unknown; } export interface UrlEntry { loc: string; lastmod?: string; changefreq?: 'always' | 'hourly' | 'daily' | 'weekly' | 'monthly' | 'yearly' | 'never'; priority?: number; } export interface ShardInfo { filename: string; lastmod: string; }