/** * Simple Time-Based Cache Utility * Provides TTL-based caching for values */ /** * Simple TTL-based cache for single values */ export declare class SimpleCache { private readonly ttl; private entry; constructor(ttl: number); /** * Get cached value if valid, otherwise return null */ get(): T | null; /** * Set value in cache */ set(value: T): void; /** * Clear cache */ clear(): void; /** * Check if cache has valid value */ has(): boolean; }