/** * An abstract class for classroom APIs. * Examples of classroom APIs are: google, microsoft, mail. */ import { ClassDbSchema } from "../db-schemas/Class"; import { StudentDbSchema } from "../db-schemas/Student"; declare abstract class ClassroomProvider { /** * Retrieves a list of classes from the given classroom api */ abstract getClasses(): Promise; /** * Retrieves a list of students for a given class from the given classroom api * @param {string} classId - The identifier of the class. * @returns {Promise} - A promise that resolves with an array of students. */ abstract getStudents(classId: string): Promise; } export default ClassroomProvider;