/**
 * @ai-summary Type definitions for unit system support
 * @ai-context Frontend types for Imperial/Metric unit preferences
 */

export type UnitSystem = 'imperial' | 'metric';
export type DistanceUnit = 'miles' | 'km';
export type VolumeUnit = 'gallons' | 'liters';
export type FuelEfficiencyUnit = 'mpg' | 'l100km';

export interface UnitPreferences {
  system: UnitSystem;
  distance: DistanceUnit;
  volume: VolumeUnit;
  fuelEfficiency: FuelEfficiencyUnit;
}

export interface UserPreferences {
  id: string;
  userId: string;
  unitSystem: UnitSystem;
  createdAt: string;
  updatedAt: string;
}
