import { Redis as Valkey } from "iovalkey"; export declare function getValkey(): Promise; export declare function searchCacheKey(query: string, category: string, timeRange?: string): string; export declare function fetchCacheKey(url: string): string; export declare function cacheGet(key: string): Promise; export declare function cacheSet(key: string, value: string, ttl: number): Promise; export declare function cacheAtomicUpdate(key: string, ttl: number, mutateFn: (raw: string | null) => string, maxRetries?: number): Promise; export declare function cacheClear(pattern: string): Promise; export declare function cachePing(): Promise;