import { Types } from "../../state"; import { LitElement, CSSResultGroup } from "lit"; import { FullscreenController } from "./controllers/Fullscreen"; import { IdleController } from "./controllers/Idle"; import { KeyboardController } from "./controllers/Keyboard"; import { MuxParams, DRMOptions } from "../../types"; import "../video-controls"; import "../video-container"; import "../video-chromecast"; import "../video-errors-manager"; export declare class VideoPlayer extends LitElement { static styles?: CSSResultGroup; protected idleManager: IdleController; protected keyboardManager: KeyboardController; command: (command: "play" | "pause" | "seek" | "mute" | "unmute" | "setPlaybackRate" | "toggleFullscreen" | "togglePlay" | "toggleMuted" | "setVolume" | "increaseVolume" | "decreaseVolume" | "forward" | "backward" | "enableTextTrack" | "enableAudioTrack" | "setQualityLevel" | "initCustomHLS" | "init" | "requestAirplay" | "castNotSupported" | "requestCast" | "togglePip" | "live" | "error" | Types.Command, params?: import("../../state/events").CommandParams, meta?: import("../../state/events").CommandMeta) => boolean; state: import("../../state/controller").StateController; fullscreen: FullscreenController; /** * The ID of the element to be used as the fullscreen container. */ fullscreenContainer: string; /** * Indicates whether the player is in idle mode. */ idle: boolean; /** * Parameters to be passed to Mux for analytics. */ muxData: MuxParams; /** * Indicates whether the player should automatically focus on load. */ autofocus: boolean; /** * The duration of inactivity before the player enters idle mode (in milliseconds). */ idleTimeout: number; /** * The tabindex of the player for keyboard navigation. */ tabindex: number; /** * The key used for storing player state in local storage. */ storageKey: string; /** * The time offset (in seconds) to seek the video to. */ offset: number; /** * DRM options */ drmOptions?: DRMOptions; toggleFullscreen: () => void; handleOffsetChange(): void; handleIdleUpdate(idle: boolean): void; handleClick: () => void; handleMove: () => void; connectedCallback(): void; disconnectedCallback(): void; render(): import("lit").TemplateResult<1>; }