@kingstinct/react-native-healthkit
Version:
React Native bindings for HealthKit
9 lines (8 loc) • 588 B
TypeScript
import type { HybridObject } from 'react-native-nitro-modules';
import type { ECGQueryOptionsWithAnchor, ECGQueryOptionsWithSortOrder, ElectrocardiogramSample, ElectrocardiogramSamplesWithAnchorResponse } from '../types/ElectrocardiogramSample';
export interface ElectrocardiogramModule extends HybridObject<{
ios: 'swift';
}> {
queryElectrocardiogramSamples(options: ECGQueryOptionsWithSortOrder): Promise<readonly ElectrocardiogramSample[]>;
queryElectrocardiogramSamplesWithAnchor(options: ECGQueryOptionsWithAnchor): Promise<ElectrocardiogramSamplesWithAnchorResponse>;
}