export interface HealthKitSample {
  readonly uuid: string;
  readonly startDate: Date;
  readonly endDate: Date;
  readonly sourceRevision: HealthKitSourceRevision;
}

export interface HealthKitSourceRevision {
  readonly source: {
    readonly name: string;
    readonly bundleIdentifier: string;
  };
  readonly version: string;
  readonly productType: string;
  readonly systemVersion: string;
}

export interface HealthKitQuantitySample extends HealthKitSample {
  readonly value: number;
  readonly unit: string;
  readonly identifier: string;
}

export interface HealthKitCategorySample extends HealthKitSample {
  readonly value: number;
  readonly identifier: string;
}

export interface HealthKitWorkout extends HealthKitSample {
  readonly workoutActivityType: number;
  readonly duration: number;
  readonly totalEnergyBurned?: number;
  readonly totalDistance?: number;
  readonly totalSwimmingStrokeCount?: number;
  readonly totalFlightsClimbed?: number;
  readonly metadata?: Record<string, any>;
} 