import { Device } from "./device.js"; import { IDeviceInterface } from "../interfaces.js"; import * as Consts from "../consts.js"; /** * @class PiezoBuzzer * @extends Device */ export declare class PiezoBuzzer extends Device { constructor(hub: IDeviceInterface, portId: number); /** * Play a tone on the Hub's in-built buzzer * @param {number} frequency * @param {number} time How long the tone should play for (in milliseconds). * @returns {Promise} Resolved upon completion of command (i.e. once the tone has finished playing). */ playTone(frequency: number, time: number): Promise; } //# sourceMappingURL=piezobuzzer.d.ts.map