import type { PlayerChapter } from './chapter-logic.js'; import { type PlayerStrings } from '../core/strings.js'; /** * Chapters button + dropdown list. Mirrors the CcButton/QualityMenu pattern: a * button in the controls bar toggles a dropdown of chapters (timestamp + title). * Selecting a chapter seeks to its start. Titles render as inert text — they are * author/delivery-supplied and only length-validated server-side. */ export declare class ChapterMenu { private container; private btn; private dropdown; private chapters; private onSelect; private activeId; private isOpen; private unsubscribes; constructor(chapters: PlayerChapter[], onSelect: (startTime: number) => void, strings?: PlayerStrings); getElement(): HTMLDivElement; /** Highlight the chapter with the given id (or clear when null). */ setActive(id: string | null): void; dispose(): void; private renderOptions; } //# sourceMappingURL=chapter-menu.d.ts.map