import type { RedisClientType, RedisClusterType, RedisSentinelType, createClient, createCluster, createSentinel } from 'redis'; import { HealthIndicatorResult } from './nestjs-terminus'; type Redis = ReturnType | ReturnType | ReturnType | RedisClientType | RedisClusterType | RedisSentinelType; export declare class RedisHealthIndicator { /** * TODO * * This is workaround, this should be DI but for some reason * HealthIndicatorService is not injected after building the package. * * Reference (how it should be): https://docs.nestjs.com/recipes/terminus#custom-health-indicator * * ToDo: Fix this issue in the future. */ private healthIndicatorService; isHealthy(key: string, { client }: { client: Redis; }): Promise; } export {}; //# sourceMappingURL=health.indicator.d.ts.map