import { type CharacteristicSelector, type CharacteristicSelectorOptions } from './commands.js'; import { BODY_SENSOR_LOCATION_CHARACTERISTIC, HEART_RATE_CONTROL_POINT_CHARACTERISTIC, HEART_RATE_MEASUREMENT_CHARACTERISTIC, HEART_RATE_SERVICE } from './identifiers.js'; export { BODY_SENSOR_LOCATION_CHARACTERISTIC, HEART_RATE_CONTROL_POINT_CHARACTERISTIC, HEART_RATE_MEASUREMENT_CHARACTERISTIC, HEART_RATE_SERVICE }; export type HeartRateContact = 'unsupported' | 'not-detected' | 'detected'; export interface HeartRateMeasurement { readonly beatsPerMinute: number; readonly contact: HeartRateContact; readonly energyExpendedKilojoules: number | null; /** Consecutive RR intervals in seconds (wire unit: 1/1024 second). */ readonly rrIntervalsSeconds: readonly number[]; } export declare function heartRateMeasurementSelector(options?: CharacteristicSelectorOptions): CharacteristicSelector; export declare function bodySensorLocationSelector(options?: CharacteristicSelectorOptions): CharacteristicSelector; export declare function heartRateControlPointSelector(options?: CharacteristicSelectorOptions): CharacteristicSelector; /** Parses the Bluetooth SIG Heart Rate Measurement characteristic (0x2A37). */ export declare function parseHeartRateMeasurement(bytes: Readonly): HeartRateMeasurement; export declare function parseBodySensorLocation(bytes: Readonly): number; /** Exact control-point value for the HRS Reset Energy Expended command. */ export declare function encodeResetEnergyExpended(): Uint8Array; //# sourceMappingURL=heart-rate.d.ts.map