import { Section } from "../models/Section"; import { SectionRepository } from "../repositories/SectionRepository"; export interface CreateSectionDTO { courseId: string; title: string; description?: string; orderIndex?: number; } export interface UpdateSectionDTO { title?: string; description?: string; orderIndex?: number; } export declare class SectionService { private sectionRepository; constructor(sectionRepository: SectionRepository); /** * Create a new section */ createSection(data: CreateSectionDTO): Promise
; /** * Get a section by ID */ getSection(id: string): Promise
; /** * Get all sections for a course */ getSectionsByCourseId(courseId: string): Promise; /** * Update a section */ updateSection(id: string, data: UpdateSectionDTO): Promise
; /** * Delete a section */ deleteSection(id: string): Promise; }