import { BaseRepository } from "./BaseRepository"; import { Enrollment } from "../models/Enrollment"; import { SqliteAdapter } from "../database/SqliteAdapter"; export declare class EnrollmentRepository extends BaseRepository { constructor(dbAdapter: SqliteAdapter); /** * Create a new enrollment */ create(data: Omit): Promise; /** * Update an existing enrollment */ update(id: string, data: Partial): Promise; /** * Find enrollments by student ID */ findByStudentId(studentId: string): Promise; /** * Find enrollments by course ID */ findByCourseId(courseId: string): Promise; /** * Find enrollment by student ID and course ID */ findByStudentAndCourse(studentId: string, courseId: string): Promise; /** * Update progress for a student's enrollment in a course */ updateProgress(studentId: string, courseId: string, progress: number, completed?: boolean): Promise; findAllByStudentId(studentId: string): Promise; markLectureCompleted(studentId: string, courseId: string, lectureId: string): Promise; getCompletedLectures(studentId: string, courseId: string): Promise; }