import { ClusterInfo, NodeId } from "../net/cluster-state"; import { Redis } from "../net/redis"; import { ActorDirectory } from "./actor-directory"; import { ActorId, ActorType } from "./actor-types"; declare class RedisActorDirectory implements ActorDirectory { private redis; private clusterInfo; constructor(redis: Redis, clusterInfo: ClusterInfo); getActorLocation(actorType: ActorType, actorId: ActorId): Promise; putOrGetActorLocation(actorType: ActorType, actorId: ActorId, nodeId: NodeId, expireSecs: number): Promise; removeActor(actorType: ActorType, actorId: ActorId): Promise; updateActorExpiry(actorType: ActorType, actorId: ActorId, nodeId: NodeId, expireSecs: number): Promise; } export default RedisActorDirectory; export { RedisActorDirectory };