export interface DropdownOption { label: string; checked: boolean; onSelect: () => void; } /** * Accessible dropdown primitive shared by the quality and speed menus (WS-PP): * trigger button (`aria-haspopup`/`aria-expanded`) + `role="menu"` popup of * `menuitemradio` options with roving arrow-key focus, Home/End, Escape and * outside-click close. Option labels are rendered with DOM APIs only — they can * originate in untrusted HLS manifests (W7 rule: never innerHTML). */ export declare class DropdownMenu { private container; private button; private dropdown; private isOpen; private unsubscribes; constructor(className: string, label: string, icon: string); /** Replace the menu options (labels rendered as inert text). */ setOptions(options: DropdownOption[]): void; getElement(): HTMLDivElement; getButton(): HTMLButtonElement; setVisible(visible: boolean): void; dispose(): void; private items; private setOpen; } //# sourceMappingURL=dropdown-menu.d.ts.map