/** * Simple in-memory LRU cache for schema metadata * Avoids external dependencies like Redis */ export declare class SchemaCache { private cache; private maxSize; private ttlMs; /** * Create a new schema cache * @param maxSize Maximum number of entries (default: 100) * @param ttlMs Time to live in milliseconds (default: 5 minutes) */ constructor(maxSize?: number, ttlMs?: number); /** * Get a value from the cache * @param key Cache key * @returns Cached value or undefined if not found or expired */ get(key: string): T | undefined; /** * Set a value in the cache * @param key Cache key * @param value Value to cache */ set(key: string, value: T): void; /** * Clear all entries from the cache */ clear(): void; /** * Get current cache size */ size(): number; /** * Check if a key exists in the cache (and is not expired) */ has(key: string): boolean; } export declare const schemaCache: SchemaCache; //# sourceMappingURL=cache.d.ts.map