import { q as MeshInstanceRecord } from '../../types-C9VYURdP.js'; import { M as MeshRegistry, d as MeshRegistryRegisterOptions, b as MeshRegistryHeartbeatOptions, c as MeshRegistryListOptions } from '../../types-Dkbb4iqE.js'; import { a as SimpleRedisClientOptions } from '../../SimpleRedisClient-155MXK60.js'; export { S as SimpleRedisClient } from '../../SimpleRedisClient-155MXK60.js'; interface RedisMeshRegistryOptions extends SimpleRedisClientOptions { readonly app: string; readonly secret?: string; readonly keyPrefix?: string; readonly requireSignature?: boolean; } declare class RedisMeshRegistry implements MeshRegistry { private readonly options; readonly kind = "redis"; private readonly client; private readonly prefix; private readonly signer; private readonly requireSignature; constructor(options: RedisMeshRegistryOptions); register(instance: MeshInstanceRecord, options?: MeshRegistryRegisterOptions): Promise; heartbeat(instanceId: string, options?: MeshRegistryHeartbeatOptions): Promise; list(options?: MeshRegistryListOptions): Promise; get(instanceId: string): Promise; markDraining(instanceId: string): Promise; unregister(instanceId: string): Promise; private ids; private remainingTtl; private indexKey; private instanceKey; } export { RedisMeshRegistry, type RedisMeshRegistryOptions, SimpleRedisClientOptions };