import type { humidifierServiceData } from '../types/bledevicestatus.js'; import type { NobleTypes } from '../types/types.js'; import { Buffer } from 'node:buffer'; import { SwitchbotDevice } from '../device.js'; /** * Class representing a WoHumi device. * @see https://github.com/OpenWonderLabs/SwitchBotAPI-BLE/tree/latest/devicetypes */ export declare class WoHumi extends SwitchbotDevice { /** * Parses the service data for WoHumi. * @param {Buffer} serviceData - The service data buffer. * @param {Function} emitLog - The function to emit log messages. * @returns {Promise} - Parsed service data or null if invalid. */ static parseServiceData(serviceData: Buffer, emitLog: (level: string, message: string) => void): Promise; constructor(peripheral: NobleTypes['peripheral'], noble: NobleTypes['noble']); /** * Sends a command to the humidifier. * @param {number[]} bytes - The command bytes. * @returns {Promise} */ operateHumi(bytes: number[]): Promise; /** * Presses the humidifier button. * @returns {Promise} */ press(): Promise; /** * Turns on the humidifier. * @returns {Promise} */ turnOn(): Promise; /** * Turns off the humidifier. * @returns {Promise} */ turnOff(): Promise; /** * Decreases the humidifier setting. * @returns {Promise} */ down(): Promise; /** * Increases the humidifier setting. * @returns {Promise} */ up(): Promise; } //# sourceMappingURL=wohumi.d.ts.map