import GRPCClient from "./GRPCClient"; import { LockResponse as LockResponseResult } from "../../../types/lock/LockResponse"; import { UnlockResponse as UnLockResponseResult, LockStatus } from "../../../types/lock/UnlockResponse"; import { UnlockResponse } from "../../../proto/dapr/proto/runtime/v1/dapr_pb"; import IClientLock from "../../../interfaces/Client/IClientLock"; export default class GRPCClientLock implements IClientLock { client: GRPCClient; constructor(client: GRPCClient); lock(storeName: string, resourceId: string, lockOwner: string, expiryInSeconds: number): Promise; unlock(storeName: string, resourceId: string, lockOwner: string): Promise; getUnlockResponse(res: UnlockResponse): LockStatus; }