import type { LifespanParameters } from "../types.js"; /** * Calculate lifespan parameters from revalidate value * CRITICAL: All timestamps are in SECONDS, not milliseconds * * @param revalidate - Revalidation period in seconds, or false to disable * @param defaultTTL - Default TTL in seconds if revalidate is undefined * @returns Lifespan parameters or null if no expiration */ export declare function calculateLifespan(revalidate: number | false | undefined, defaultTTL?: number): LifespanParameters | null; /** * Check if a cache entry has expired based on its lifespan * * @param lifespan - Lifespan parameters (null means never expires) * @returns True if expired, false otherwise */ export declare function isExpired(lifespan: LifespanParameters | null): boolean; //# sourceMappingURL=lifespan.d.ts.map