import type { Buffer } from 'node:buffer'; import type { hub2ServiceData } from '../types/bledevicestatus.js'; import type { NobleTypes } from '../types/types.js'; import { SwitchbotDevice } from '../device.js'; /** * Class representing a WoHub2 device. * @see https://github.com/OpenWonderLabs/SwitchBotAPI-BLE/blob/latest/devicetypes/meter.md */ export declare class WoHub2 extends SwitchbotDevice { /** * Parses the service data for WoHub2. * @param {Buffer} manufacturerData - The manufacturer data buffer. * @param {Function} emitLog - The function to emit log messages. * @returns {Promise} - Parsed service data or null if invalid. */ static parseServiceData(manufacturerData: Buffer, emitLog: (level: string, message: string) => void): Promise; constructor(peripheral: NobleTypes['peripheral'], noble: NobleTypes['noble']); } //# sourceMappingURL=wohub2.d.ts.map