import { ErrorLike, MediaContentData, MediaPreloadType, TextTrackListLike, TimeRangeLike, Video } from "../../core/types.js"; import { MediaPlayedRangesAPI } from "../media-played-ranges/media-played-ranges.js"; import VimeoPlayer, { VimeoEmbedParameters, default as VimeoPlayerApi } from "@vimeo/player"; import * as _$_videojs_utils_types0 from "@videojs/utils/types"; //#region src/dom/vimeo/media.d.ts /** Vimeo engine options: embed parameters forwarded verbatim to `@vimeo/player` and the embed URL. */ interface VimeoEngineConfig extends VimeoEmbedParameters { /** `referrerpolicy` for the embed iframe. Not a Vimeo embed parameter. */ referrerPolicy?: ReferrerPolicy; } /** Structured Vimeo source: which source to play, plus how to play it. */ interface VimeoSource { /** Vimeo URL or id. Mirrors the host's `src` property. */ src?: string | undefined; /** Playback options, keyed by the engine that reads them. */ engine?: VimeoSourceEngineConfig | undefined; } /** The engines a Vimeo source can configure. */ interface VimeoSourceEngineConfig { /** Vimeo's own embed parameters, passed through untouched. */ vimeo?: VimeoEngineConfig | undefined; } /** Parsed pieces of a Vimeo source URL. */ interface ParsedVimeoSource { id: number; /** `'video'` for regular clips, `'event'` for live events. */ kind: 'video' | 'event'; /** Unlisted-video / event hash (the `h` parameter). */ hash: string | null; } interface VimeoMediaProps { src: string; autoplay: boolean; defaultMuted: boolean; muted: boolean; loop: boolean; controls: boolean; playsInline: boolean; preload: MediaPreloadType; poster: string; source: VimeoSource | null; } declare const vimeoMediaDefaultProps: VimeoMediaProps; declare const VimeoMediaBase: _$_videojs_utils_types0.MixinReturn<{ new (): EventTarget; prototype: EventTarget; }, MediaPlayedRangesAPI>; /** * @fires sourcechange - Fired when `source` changes, either directly or by resolving a new `src`. Read `source` for the new value. * @fires contentdatachange - Fired when the embed reports a title and when that title is cleared. Read `contentData` for the new value. */ declare class VimeoMedia extends VimeoMediaBase implements Partial