/** * Generic cache helper that handles common caching patterns * @param cacheKey - The key to store/retrieve the data from cache * @param fetcher - Function that fetches the data if not in cache * @param ttl - Time to live in milliseconds (optional) * @param operationName - Name of the operation for logging purposes (optional) * @returns The cached or freshly fetched data */ export declare function withCache(cacheKey: string, fetcher: () => Promise, ttl?: number, operationName?: string): Promise;