export declare class Memoizer { private cache; /** * Gets a cached value for the given key, computing it if it doesn't exist. * * @param key - The key to look up or store the value under * @param compute - Function to compute the value if it's not cached * @returns The cached or computed value */ get(key: K, compute: () => V): V; /** * Checks if a value exists for the given key. * * @param key - The key to check * @returns Whether the key exists in the cache */ has(key: string): boolean; /** * Deletes a cached value. * * @param key - The key to delete * @returns Whether a value was deleted */ delete(key: string): boolean; /** * Clears all cached values. */ clear(): void; /** * Gets all cached keys. * * @returns Array of cached keys */ keys(): string[]; }