export type LeaderboardEntry = {
  rank: number;
  user_id: string;
  name: string;
  avatar_url: string;
  score: number;
  current_level: number;
  streak: number;
};

export interface Leaderboard {
  top_users: LeaderboardEntry[];
  user_rank: LeaderboardEntry;
}

export interface PredictedScore {
  total_score: number;
  math_prediction: {
    score: number;
    range_min: number;
    range_max: number;
    confidence: string;
  };
  rw_prediction: {
    score: number;
    range_min: number;
    range_max: number;
    confidence: string;
  };
}
