import { IconType } from "react-icons"; export interface GeneratedExercises { exercises: Record[]; sectionId: number; module: string; } export interface GeneratorState { loading: boolean; sectionId: number; } export interface ExerciseGen { label: string; type: string; icon: IconType; sectionId?: number; extra?: { param: string; value?: string | number | boolean; label?: string; tooltip?: string, type?: string}[]; module: string }