import type { Buffer } from 'node:buffer'; import type { contactSensorServiceData } from '../types/bledevicestatus.js'; import type { NobleTypes } from '../types/types.js'; import { SwitchbotDevice } from '../device.js'; /** * Class representing a WoContact device. * @see https://github.com/OpenWonderLabs/SwitchBotAPI-BLE/blob/latest/devicetypes/contactsensor.md */ export declare class WoContact extends SwitchbotDevice { /** * Parses the service data for WoContact. * @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']); } //# sourceMappingURL=wocontact.d.ts.map