import { Device } from "./device.js"; import { IDeviceInterface } from "../interfaces.js"; import * as Consts from "../consts.js"; /** * @class TechnicMediumHubTiltSensor * @extends Device */ export declare class TechnicMediumHubTiltSensor extends Device { protected _impactThreshold: number; protected _impactHoldoff: number; constructor(hub: IDeviceInterface, portId: number); receive(message: Buffer): void; /** * Set the impact count value. * @param {number} count impact count between 0 and 2^32 * @returns {Promise} Resolved upon completion of the command. */ setImpactCount(count: number): Promise | undefined; /** * Set the impact threshold. * @param {number} threshold value between 1 and 127 * @returns {Promise} Resolved upon completion of the command. */ setImpactThreshold(threshold: number): Promise | undefined; /** * Set the impact holdoff time. * @param {number} holdoff value between 1 and 127 * @returns {Promise} Resolved upon completion of the command. */ setImpactHoldoff(holdoff: number): Promise | undefined; } export declare enum Mode { TILT = 0, IMPACT_COUNT = 1 } export declare const ModeMap: { [event: string]: number; }; //# sourceMappingURL=technicmediumhubtiltsensor.d.ts.map