export interface CacheControlOptions { /** Public vs private caches. */ scope?: 'public' | 'private'; /** max-age (seconds). */ maxAge?: number; /** s-maxage (seconds) — shared (CDN) cache. */ sMaxAge?: number; /** stale-while-revalidate (seconds). Requires `maxAge` or `sMaxAge`. */ staleWhileRevalidate?: number; /** stale-if-error (seconds). */ staleIfError?: number; /** no-store short-circuits. */ noStore?: boolean; /** no-cache short-circuits. */ noCache?: boolean; /** immutable (fingerprinted assets). */ immutable?: boolean; mustRevalidate?: boolean; } export declare function cacheControl(opts: CacheControlOptions): string; /** * Compute a weak ETag using FNV-1a 64-bit (much lower collision risk than DJB2). * Returned as `W/"-"`. */ export declare function buildWeakEtag(body: string): string; export declare function ifNoneMatchHit(etag: string, requestHeader?: string): boolean; //# sourceMappingURL=cache-headers.d.ts.map