UNPKG

@kingstinct/react-native-healthkit

Version:
17 lines (16 loc) 734 B
import type { HybridObject } from 'react-native-nitro-modules'; import type { BiologicalSex, BloodType, FitzpatrickSkinType, WheelchairUse } from '../types/Characteristics'; export interface CharacteristicTypeModule extends HybridObject<{ ios: 'swift'; }> { getBloodType(): BloodType; getDateOfBirth(): Date | undefined; getBiologicalSex(): BiologicalSex; getFitzpatrickSkinType(): FitzpatrickSkinType; getWheelchairUse(): WheelchairUse; getBloodTypeAsync(): Promise<BloodType>; getDateOfBirthAsync(): Promise<Date | undefined>; getBiologicalSexAsync(): Promise<BiologicalSex>; getFitzpatrickSkinTypeAsync(): Promise<FitzpatrickSkinType>; getWheelchairUseAsync(): Promise<WheelchairUse>; }