// types/exam.ts
export type ExamMode = "MODULE" | "TARGETED" | "SIMULATION" | "DRILL";

export interface StartExamPayload {
  sheet_id: string;
  topic_ids: string[];
  difficulty: "EASY" | "MEDIUM" | "HARD";
  question_count: number;
  time_limit_minutes: number;
  mode: ExamMode;
}

export interface Results {
  score: number;
  correct_count: number;
  total_questions: number;
  xp_gained: number;
  leveled_up: boolean;
  current_level: number;
  total_xp: number;
  next_level_threshold: number;
  current_level_start: number;
}
