import type { LLMResponse } from "./types"; import { LLMCacheManager as BaseLLMCacheManager } from "../utils/cache/CacheManager"; import type { CacheOptions, CacheValue } from "../utils/cache/types"; export type { CacheOptions, CacheValue }; export declare class GeneralCache { private cache; constructor(options?: CacheOptions); get(key: string): T | undefined; set(key: string, value: CacheValue, ttl?: number): void; clear(): void; delete(key: string): boolean; size(): number; has(key: string): boolean; /** * Generate a hash key from input data for consistent cache key generation */ static generateKey(prefix: string, data: any): string; } export declare class LLMCache extends BaseLLMCacheManager { constructor(options?: CacheOptions); get(key: string): T | undefined; set(key: string, value: LLMResponse, ttl?: number): void; }