/**
 * Represents a cache entry stored inside a cache driver.
 */
declare class CacheEntry {
    #private;
    constructor(key: string, item: Record<string, any>);
    getValue(): any;
    getKey(): string;
    getLogicalExpiration(): number;
    getEarlyExpiration(): number;
    isLogicallyExpired(): boolean;
    isEarlyExpired(): boolean;
    static fromDriver(key: string, item: string): CacheEntry;
    applyFallbackDuration(duration: number): this;
    expire(): this;
    serialize(): string;
}

export { CacheEntry };
