import type { HlsConfig, default as Hls } from 'hls.js'; import type { HTML } from '../types'; declare global { interface JQueryStatic { /** * Creates a new JQuery HTML Media Element with the properties set as defined in the options * It loads a hls.js player around the element so that it can load that content * * Note: if autoplay is enabled, muted will be set to true * * @param src * @param options * @param hlsConfig */ createHLSMedia(src: string, options?: Partial, hlsConfig?: Partial): [JQuery, Hls]; /** * Creates a new instance of Hls.js using the supplied configuration parameters * * @param config */ hls(config: Partial): Hls; } interface Window { Hls: typeof Hls; } } export {};