import { BaseRepository } from "./BaseRepository"; import { Course } from "../models/Course"; import { SqliteAdapter } from "../database/SqliteAdapter"; export declare class CourseRepository extends BaseRepository { constructor(dbAdapter: SqliteAdapter); /** * Create a new course */ create(data: Omit): Promise; /** * Override toCamelCase to handle categories JSON */ protected toCamelCase(obj: Record): any; /** * Update an existing course */ update(id: string, data: Partial): Promise; /** * Find courses by teacher ID */ findByTeacherId(teacherId: string): Promise; /** * Find public courses */ findPublicCourses(): Promise; /** * Find courses by category */ findByCategory(categoryId: string): Promise; }