import { PropertyEvent } from '../property_event.js'; import { RemoteDevice } from '../remote_device.js'; import { OcaBasicActuator } from './OcaBasicActuator.js'; /** * JSON value actuator. * @extends OcaBasicActuator * @class OcaJsonActuator */ export declare class OcaJsonActuator extends OcaBasicActuator { /** * This event is emitted whenever Value changes. */ OnValueChanged: PropertyEvent; constructor(objectNumber: number, device: RemoteDevice); /** * Gets the value of the **Value** property. * * @method OcaJsonActuator#GetValue * @returns {Promise} * A promise which resolves to a single value of type ``string``. */ GetValue(): Promise; /** * Sets the value of the **Value** property. * * @method OcaJsonActuator#SetValue * @param {string} Setting * * @returns {Promise} */ SetValue(Setting: string): Promise; /** * Output parameter that shall hold the maximum allowable length of the * Setting property if the method succeeds. * * @method OcaJsonActuator#GetMaxLen * @returns {Promise} * A promise which resolves to a single value of type ``number``. */ GetMaxLen(): Promise; }