export declare enum CacheControlType { Immutable = "max-age=31536000, immutable, public", NoCache = "max-age=0", NormalCache = "max-age=86400, public" } export type CacheControlRule = { regex: string | RegExp; cacheControl: string | CacheControlType; }; export type CacheControlOptions = { defaultCacheControl?: string; rules: Array; }; export declare class CacheControl { #private; constructor({ defaultCacheControl, rules }: CacheControlOptions); static fromJsonFile(filePath: string): Promise; static fromYamlFile(filePath: string): Promise; getCacheControl(pathname: string): Promise; }