import { EventEmitter } from 'events'; import { ConduitModule } from '../../classes/index.js'; import { HealthCheckStatus } from '../../types/index.js'; import { ConfigDefinition } from '../../protoUtils/index.js'; import { ClusterOptions, RedisOptions } from 'ioredis'; export declare class Config extends ConduitModule { readonly url: string; private readonly emitter; private coreLive; private readonly _serviceHealthStatusGetter?; constructor(moduleName: string, url: string, serviceHealthStatusGetter?: () => HealthCheckStatus, grpcToken?: string); getServerConfig(): Promise; getModuleUrlByName(name: string): Promise<{ url: string; }>; get(name: string): Promise; configure(config: any, schema: any, override: boolean): Promise; moduleExists(name: string): Promise; moduleList(): Promise; getRedisDetails(): Promise<{ standalone?: RedisOptions; cluster?: ClusterOptions; redisHost?: string; redisPort?: number; redisUsername?: string; redisPassword?: string; redisConfig?: string; }>; registerModule(name: string, url: string, healthStatus: Omit): Promise; moduleHealthProbe(name: string, url: string): void; getModuleWatcher(): EventEmitter<[never]>; watchModules(): Promise; }