import ActorId from "../../actors/ActorId"; import { ActorReminderType } from "../../types/ActorReminder.type"; import { ActorTimerType } from "../../types/ActorTimer.type"; import { KeyValueType } from "../../types/KeyValue.type"; import { OperationType } from "../../types/Operation.type"; export default interface IClientActor { invoke(actorType: string, actorId: ActorId, methodName: string, body?: any): Promise; stateTransaction(actorType: string, actorId: ActorId, operations: OperationType[]): Promise; stateGet(actorType: string, actorId: ActorId, key: string): Promise; registerActorReminder(actorType: string, actorId: ActorId, name: string, reminder: ActorReminderType): Promise; unregisterActorReminder(actorType: string, actorId: ActorId, name: string): Promise; registerActorTimer(actorType: string, actorId: ActorId, name: string, timer: ActorTimerType): Promise; unregisterActorTimer(actorType: string, actorId: ActorId, name: string): Promise; getActors(): Promise; }