import { LazyMediaMatcher, LazyMediaSource } from "@videojs/media"; //#region src/media/lazy-media.d.ts /** A media element `` or `` can render: which sources it plays, and the element that plays them. */ export interface LazyMediaDefinition extends LazyMediaMatcher { /** Tag name of the element that plays the source. */ tag: string; /** Registers the element once a source needs it. Leave it out for built-in or already registered elements. */ load?: (() => Promise) | undefined; /** Whether the element takes `preferPlayback` on its `source`, as `` and `` do. */ preferPlayback?: boolean | undefined; } declare const HTMLElementBase: { new (): HTMLElement; prototype: HTMLElement; }; /** * Base for `` and ``: resolves `src` to a media element, loads the module that registers it, * and renders it as a child with this element's attributes. The child registers itself with the player, as it would if * it were written in the page. * * @experimental */ export declare class LazyMediaElement extends HTMLElementBase { #private; static get observedAttributes(): string[]; /** Source URL. Its host or file extension decides which media element plays it. Ignored while `source` is set. */ get src(): string; set src(value: string); /** * MIME type of the source. Takes precedence over the file extension, so signed or extensionless URLs resolve. Ignored * while `source` is set. */ get type(): string; set type(value: string); /** * Structured source, in place of `src` and `type`. Its `src`, `type`, or an id such as a Mux `playbackId` or a Wistia * `mediaId` decides which media element plays it, and the media takes the whole object on its `source`. A native * `