import type { botServiceData } from '../types/bledevicestatus.js'; import type { NobleTypes } from '../types/types.js'; import { Buffer } from 'node:buffer'; import { SwitchbotDevice } from '../device.js'; /** * Class representing a WoHand device. * @see https://github.com/OpenWonderLabs/SwitchBotAPI-BLE/blob/latest/devicetypes/bot.md */ export declare class WoHand extends SwitchbotDevice { /** * Parses the service data for WoHand. * @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 bot. * @param {Buffer} reqBuf - The command buffer. * @returns {Promise} */ protected sendCommand(reqBuf: Buffer): Promise; /** * Presses the bot. * @returns {Promise} */ press(): Promise; /** * Turns on the bot. * @returns {Promise} */ turnOn(): Promise; /** * Turns off the bot. * @returns {Promise} */ turnOff(): Promise; /** * Moves the bot down. * @returns {Promise} */ down(): Promise; /** * Moves the bot up. * @returns {Promise} */ up(): Promise; } //# sourceMappingURL=wohand.d.ts.map