import { type HivePubSub, type KeyValueCache, type KeyValueCacheSetOptions, type Logger, type MeshPubSub, type YamlConfig } from '@graphql-mesh/types'; import { DisposableSymbols } from '@whatwg-node/disposablestack'; export default class RedisCache implements KeyValueCache, Disposable { private client; private tracer; constructor(options: YamlConfig.Cache['redis'] & { pubsub?: MeshPubSub | HivePubSub; logger: Logger; }); [DisposableSymbols.dispose](): void; set(key: string, value: V, options?: KeyValueCacheSetOptions): Promise; get(key: string): Promise; getKeysByPrefix(prefix: string): Promise; delete(key: string): Promise; }