import { LazyMediaDefinition, LazyMediaElement } from "../lazy-media.js"; import { AdapterType, LazyMediaMatcher, LazyMediaSource, LazySource } from "@videojs/media"; //#region src/media/lazy/create.d.ts /** * Create a `` element class that renders the first of `medias` to play its source, and loads only that * element's code. Put custom media first to take sources from the built-in ones, and leave out the built-ins you don't * need, so their packages don't have to be installed. Register the class under a tag of your own. * * @param medias - The media to choose from, tried in order. * @experimental */ export declare function createLazyVideoElement(medias: readonly LazyMediaDefinition[]): typeof LazyMediaElement; /** * Create a `` element class that renders the first of `medias` to play its source, and loads only that * element's code. Put custom media first to take sources from the built-in ones, and leave out the built-ins you don't * need, so their packages don't have to be installed. Register the class under a tag of your own. * * @param medias - The media to choose from, tried in order. * @experimental */ export declare function createLazyAudioElement(medias: readonly LazyMediaDefinition[]): typeof LazyMediaElement; //#endregion export type { AdapterType, LazyMediaDefinition, LazyMediaElement, LazyMediaMatcher, LazyMediaSource, LazySource }; //# sourceMappingURL=create.d.ts.map