import { type DataViewReader } from "./data-view-reader.js"; /** *
Bit 0, meaning ?Ringer State?
*Bit 1, meaning ?Vibrator State?
*Bit 2, meaning "Display Alert Status"
*Bit 0, 0 meaning ?Ringer State? not active, 1 meaning ?Ringer State? active
*Bit 1, 0 meaning ?Vibrator State? not active, 1 meaning ?Vibrator State? active
*Bit 2, 0 meaning ?Display Alert State? not active, 1 meaning ?Display Alert State? active
*/ export interface AlertStatus { /** *Format: `uint8`
*Minimum: 0
*Maximum: 2
* * Bit field: * * | index | size | name | * | ----- | ---- | ----------------------- | * | 0 | 1 | Ringer State | * | 1 | 1 | Vibrate State | * | 2 | 1 | Display Alert Status | * | 3 | 5 | Reserved for future use | * */ alertStatus: number; /** * | value | description | * | ----- | --------------------------------- | * | 0 | Display Alert Status not active | * | 1 | Display Alert Status State active | */ displayAlertStatus: number; /** * | value | description | * | ----- | ----------------------- | * | 0 | Ringer State not active | * | 1 | Ringer State active | */ ringerState: number; /** * | value | description | * | ----- | ------------------------ | * | 0 | Vibrate State not active | * | 1 | Vibrate State active | */ vibrateState: number; } /** @see {@link https://raw.githubusercontent.com/oesmith/gatt-xml/refs/heads/master/org.bluetooth.characteristic.alert_status.xml | Alert Status} */ export declare class AlertStatusImpl implements AlertStatus { static readonly UUID_PREFIX = 10815; static readonly TYPE_NAME = "org.bluetooth.characteristic.alert_status"; static readonly NAME = "Alert Status"; /** Parse from a DataView into {@link AlertStatus}. */ static fromDataView(dataView: DataView | DataViewReader, indexStart?: number | undefined): AlertStatusImpl; readonly alertStatus: number; readonly displayAlertStatus: number; readonly ringerState: number; readonly vibrateState: number; constructor(alertStatus: AlertStatus); } /** Parse from a DataView into {@link AlertStatus}. */ export declare function alertStatusFromDataView(dataView: DataView | DataViewReader, indexStart?: number): AlertStatus; //# sourceMappingURL=alert-status.d.ts.map