import type { PlayerState } from '../core/player-state.js'; import type { CaptionRenderer } from '../captions/caption-renderer.js'; import { type PlayerStrings } from '../core/strings.js'; /** * Closed-caption toggle button with language dropdown. * * UI pattern matches QualityMenu: a button that toggles a * dropdown of options (Off + one per loaded track). */ export declare class CcButton { private container; private dropdown; private btn; private captionRenderer; private strings; private unsubscribes; private isOpen; constructor(state: PlayerState, captionRenderer: CaptionRenderer, strings?: PlayerStrings); getElement(): HTMLDivElement; /** Show or hide the CC button based on whether tracks are loaded */ updateVisibility(): void; dispose(): void; private updateButtonState; private renderOptions; } //# sourceMappingURL=cc-button.d.ts.map