import GRPCClient from '../../../implementation/Client/GRPCClient/GRPCClient'; import { OperationType } from '../../../types/Operation.type'; import { ActorReminderType } from '../../../types/ActorReminder.type'; import { ActorTimerType } from '../../../types/ActorTimer.type'; import IClientActor from '../../../interfaces/Client/IClientActor'; import { KeyValueType } from '../../../types/KeyValue.type'; import ActorId from "../../ActorId"; export default class ActorClientGRPC implements IClientActor { client: GRPCClient; constructor(client: GRPCClient); 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; }