import { UIElement } from "../ui-element.js"; import { PlayerController } from "../../player/controller.js"; import { index_d_exports } from "../../index.js"; import { LiveButtonCore } from "@videojs/core"; import { PropertyDeclarationMap, PropertyValues } from "@videojs/element"; import { State } from "@videojs/store"; import { Text } from "@videojs/core/i18n"; //#region src/ui/live-button/element.d.ts /** * `` — selects from `live`, `time`, and `buffer` features and composes them into the * `LiveButtonMediaState` consumed by `LiveButtonCore`. * * Doesn't extend `MediaButtonElement` because that base couples a button to a single feature selector; the LiveButton * needs three. */ declare class LiveButtonElement extends UIElement { #private; static readonly tagName = "media-live-button"; static properties: PropertyDeclarationMap; disabled: boolean; label: Text | string; protected readonly core: LiveButtonCore; protected readonly live: PlayerController; protected readonly time: PlayerController Promise; } | undefined>; protected readonly buffer: PlayerController; get $state(): State; connectedCallback(): void; disconnectedCallback(): void; /** Returns the button's current label derived from media state. */ getLabel(): string | undefined; /** Resolved label for tooltips and other display surfaces. */ getResolvedLabel(): string | undefined; protected willUpdate(changed: PropertyValues): void; protected update(changed: PropertyValues): void; } //#endregion export { LiveButtonElement }; //# sourceMappingURL=element.d.ts.map