import type { SearchResult } from '../types/index.js'; /** * TTL-based cache for search results */ export declare class SearchCache { private cache; private ttl; private maxSize; constructor(ttlSeconds?: number); /** * Generates a cache key from search parameters */ private generateKey; /** * Gets search results from cache */ get(query: string, searchType: string, area: string): SearchResult[] | null; /** * Sets search results in cache */ set(query: string, searchType: string, area: string, results: SearchResult[]): void; /** * Removes expired entries from cache */ private cleanup; /** * Clears all cache entries */ clear(): void; /** * Gets the number of entries in cache */ size(): number; /** * Checks if a search query is cached and valid */ has(query: string, searchType: string, area: string): boolean; } //# sourceMappingURL=search-cache.d.ts.map