import { type CacheabilityArgs as CacheabilityArguments, type Metadata } from './types.cts'; /** * A utility class to parse, store and print HTTP cache headers. */ export declare class Cacheability { private static _headerKeys; private static _getDirectives; private static _parseCacheControl; private static _parseHeaders; private static _setDefaultMetadata; private static _setMetadata; private static _setTTL; private static _validateMetadata; /** * The property holds the Cacheability instance's parsed cache * headers data, including cache control directives, etag, and * a derived TTL timestamp. */ readonly metadata: Metadata; constructor(arguments_?: CacheabilityArguments); /** * The method checks whether the TTL timestamp stored in the Cacheability * instance is still valid, by comparing it to the current timestamp. */ checkTTL(): boolean; /** * The method prints a cache-control header field value based on * the Cacheability instance's metadata. The max-age and/or s-maxage * are derived from the TTL stored in the metadata. */ printCacheControl(): string; } //# sourceMappingURL=index.d.cts.map