UNPKG

matterbridge-roborock-vacuum-plugin

Version:
20 lines 902 B
import { UserData } from '../models/userData.js'; export declare class MessageContext { private readonly endpoint; private readonly devices; readonly nonce: number; readonly serializeNonce: Buffer; constructor(userdata: UserData); registerDevice(duid: string, localKey: string, pv: string, nonce: number | undefined): void; unregisterAllDevices(): void; updateNonce(duid: string, nonce: number): void; updateLocalProtocolVersion(duid: string, pv: string): void; updateMQTTProtocolVersion(duid: string, pv: string): void; getSerializeNonceAsHex(): string; getLocalKey(duid: string): string | undefined; getLocalProtocolVersion(duid: string): string | undefined; getMQTTProtocolVersion(duid: string): string | undefined; getDeviceNonce(duid: string): number | undefined; getEndpoint(): string; } //# sourceMappingURL=messageContext.d.ts.map