import { NodeId } from "../net/cluster-state"; import { Types } from "../types"; import { ActorId, ActorType } from "./actor-types"; interface ActorDirectory { 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 ActorDirectory; export { ActorDirectory };