import { type DataViewReader } from "./data-view-reader.js"; import { type AlertCategoryId } from "./alert-category-id.js"; /** *

This characteristic shows how many numbers of unread alerts exist in the specific category in the device.

*

The value 0x01, 0x04 are interpreted that the server has 4 unread messages in Email category.

*

This characteristic consists of ?Category ID? and ?uint8? which shows the number of unread alerts/messages.

*/ export interface UnreadAlertStatus { /**

The value shows the category for unread alert count

*/ categoryID: AlertCategoryId; /** *

Format: `uint8`

*

If the value is 255, it means Unread count is greater than 254.

*

Minimum: 0

*

Maximum: 255

*/ unreadCount: number; } /** @see {@link https://raw.githubusercontent.com/oesmith/gatt-xml/refs/heads/master/org.bluetooth.characteristic.unread_alert_status.xml | Unread Alert Status} */ export declare class UnreadAlertStatusImpl implements UnreadAlertStatus { static readonly UUID_PREFIX = 10821; static readonly TYPE_NAME = "org.bluetooth.characteristic.unread_alert_status"; static readonly NAME = "Unread Alert Status"; /** Parse from a DataView into {@link UnreadAlertStatus}. */ static fromDataView(dataView: DataView | DataViewReader, indexStart?: number | undefined): UnreadAlertStatusImpl; readonly categoryID: AlertCategoryId; readonly unreadCount: number; constructor(unreadAlertStatus: UnreadAlertStatus); } /** Parse from a DataView into {@link UnreadAlertStatus}. */ export declare function unreadAlertStatusFromDataView(dataView: DataView | DataViewReader, indexStart?: number): UnreadAlertStatus; //# sourceMappingURL=unread-alert-status.d.ts.map