/** * A grouping of related lessons within a course, used to organize content into sections. */ export interface CourseChapter { /** The unique identifier for the chapter. */ id: string; /** An ordered list of lessons in this chapter, sorted by display position. Hidden lessons are excluded for non-admin users. */ lessons: CourseChapter.Lessons.Item[]; /** The sort position of this chapter within its parent course, starting from zero. */ order: number; /** The display name of the chapter shown to students. Maximum 150 characters. */ title: string; } export declare namespace CourseChapter { type Lessons = Lessons.Item[]; namespace Lessons { /** * An individual learning unit within a chapter, which can contain text, video, PDF, or assessment content. */ interface Item { /** The unique identifier for the lesson. */ id: string; /** The sort position of this lesson within its parent chapter, starting from zero. */ order: number; /** The display name of the lesson shown to students. Maximum 120 characters. */ title: string; } } }