import type { PackageSize } from '../api/bundlephobia.js'; /** Default cache lifetime: 7 days. */ export declare const DEFAULT_TTL_MS: number; export declare function getCached(spec: string, ttlMs?: number): PackageSize | undefined; export declare function setCached(spec: string, value: PackageSize): void; /** Remove every cached entry. Returns the number of entries cleared. */ export declare function clearCache(): number; export declare function cacheLocation(): string; //# sourceMappingURL=cache.d.ts.map