import { CachingMechanismInterface } from "../interfaces"; import { RateLimitedProvider } from "./rateLimitedProvider"; export declare class CacheProvider extends RateLimitedProvider { readonly redisClient?: CachingMechanismInterface | undefined; readonly standardTtlBlockDistance: number; readonly noTtlBlockDistance: number; readonly providerCacheTtl: number; readonly getBlockByNumberPrefix: string; readonly getLogsCachePrefix: string; readonly callCachePrefix: string; readonly baseTTL: number; constructor(providerCacheNamespace: string, redisClient?: CachingMechanismInterface | undefined, standardTtlBlockDistance: number, noTtlBlockDistance: number, providerCacheTtl: number, ...jsonRpcConstructorParams: ConstructorParameters); send(method: string, params: Array): Promise; private buildRedisKey; private cacheType; private cacheTypeForBlock; } //# sourceMappingURL=cachedProvider.d.ts.map