import { UIElement } from "./ui-element.js"; import { PlayerController } from "../player/controller.js"; import { MediaUIComponent, StateAttrMap } from "@videojs/core"; import { PropertyValues } from "@videojs/element"; //#region src/ui/media-ui-element.d.ts /** The core a media UI element drives: it reads `MediaState` and computes `ComponentState`. */ type MediaUICore = MediaUIComponent & { setMedia(media: MediaState): void; }; /** * Abstract base for HTML custom elements that display media state with data attributes. `ComponentState` is the state * the element reflects to data attributes, and `MediaState` is the player state it reads. * * @internal */ export declare abstract class MediaUIElement extends UIElement { #private; protected abstract readonly core: MediaUICore; protected abstract readonly stateAttrMap: StateAttrMap; protected abstract readonly mediaState: PlayerController; connectedCallback(): void; protected update(changed: PropertyValues): void; } //#endregion //# sourceMappingURL=media-ui-element.d.ts.map