@kingstinct/react-native-healthkit
Version:
React Native bindings for HealthKit
19 lines (16 loc) • 606 B
text/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>
}