export type ConnectionPolicy = 'autoConnect' | 'explicit'; export declare enum IOSHealthProvider { AppleHealthKit = "apple_health_kit" } export declare enum AndroidHealthProvider { HealthConnect = "health_connect", SamsungHealth = "samsung_health" } export type HealthProvider = 'apple_health_kit' | 'health_connect' | 'samsung_health'; export declare class HealthConfig { logsEnabled: boolean; numberOfDaysToBackFill: number; connectionPolicy: ConnectionPolicy; androidConfig: AndroidHealthConfig; iOSConfig: IOSHealthConfig; } export declare class AndroidHealthConfig { syncOnAppStart: boolean; } export declare class IOSHealthConfig { dataPushMode: string; backgroundDeliveryEnabled: boolean; /** * Controls which apps/sources are allowed to contribute sleep data during sync (iOS only). * * - `undefined` (default): use the SDK's built-in default allow list of known sleep providers. * - `'all'`: accept sleep data from every source. * - `string[]`: accept only the listed source app bundle identifiers. Use {@link iOSAppIdentifier} * for the known providers, or pass any raw bundle identifier string. * * Manually-entered sleep data is always allowed, regardless of this setting. */ sleepDataAllowlist?: SleepDataAllowlist; } /** * Known sleep data source apps and their bundle identifiers, mirroring the iOS SDK's * `AppIdentifier` constants. Use these with {@link IOSHealthConfig.sleepDataAllowlist}. */ export declare const iOSAppIdentifier: { readonly appleHealthKit: "com.apple.health"; readonly oura: "com.ouraring.oura"; readonly withings: "com.withings.wiScaleNG"; readonly whoop: "com.whoop.iphone"; readonly garmin: "com.garmin.connect.mobile"; readonly fitbit: "com.fitbit.FitbitMobile"; readonly polar: "fi.polar.polarflow"; readonly coros: "com.coros.coros"; readonly suunto: "com.sports-tracker.suunto.iphone"; readonly xiaomi: "com.xiaomi.miwatch.pro"; readonly muse: "com.interaxon.muse"; readonly biostrap: "com.biostrap.Biostrap"; readonly cardiomood: "com.corsanohealth.cardiomood"; readonly eightsleep: "com.eightsleep.Eight"; readonly zepp: "com.huami.watch"; readonly zeppLife: "HM.wristband"; readonly sleepCycle: "com.lexwarelabs.goodmorning"; }; /** * Sleep data allow list value. `'all'` accepts every source; a `string[]` of bundle identifiers * accepts only those sources; leaving it `undefined` uses the SDK default. */ export type SleepDataAllowlist = 'all' | string[]; //# sourceMappingURL=health_config.d.ts.map