import { Module } from "@/interfaces";
import { GeneratedExercises, GeneratorState } from "../ExercisePicker/generatedExercises";
import { SectionState } from "@/stores/examEditor/types";


export interface SectionRendererProps {
    module: Module;
    sectionLabel: string;
    states: SectionState[];
    globalEdit: number[];
    generatedExercises: GeneratedExercises | undefined;
    generating: GeneratorState | undefined;
    focusedSection: number;
    setGeneratedExercises: React.Dispatch<React.SetStateAction<GeneratedExercises | undefined>>;
    setGenerating: React.Dispatch<React.SetStateAction<GeneratorState | undefined>>;
    setGlobalEdit: React.Dispatch<React.SetStateAction<number[]>>;
    setSectionStates: React.Dispatch<React.SetStateAction<SectionState[]>>;
    setFocusedSection: React.Dispatch<React.SetStateAction<number>>;
}