import { Components, JSX } from '@vime/core'; interface VmHlsProps { class?: string; style?: string; /** The NPM package version of the `hls.js` library to download and use if HLS is not natively supported. */ version?: Components.VmHls["version"]; /** The URL where the `hls.js` library source can be found. If this property is used, then the `version` property is ignored. */ libSrc?: Components.VmHls["libSrc"]; /** The `hls.js` configuration. */ config?: Components.VmHls["config"]; /** Whether to use CORS to fetch the related image. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/crossorigin) for more information. */ crossOrigin?: Components.VmHls["crossOrigin"]; /** Provides a hint to the browser about what the author thinks will lead to the best user experience with regards to what content is loaded before the video is played. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video#attr-preload) for more information. */ preload?: Components.VmHls["preload"]; /** A URL for an image to be shown while the video is downloading. If this attribute isn't specified, nothing is displayed until the first frame is available, then the first frame is shown as the poster frame. */ poster?: Components.VmHls["poster"]; /** Determines what controls to show on the media element whenever the browser shows its own set of controls (e.g. when the controls attribute is specified). */ controlsList?: Components.VmHls["controlsList"]; /** **EXPERIMENTAL:** Whether the browser should automatically toggle picture-in-picture mode as the user switches back and forth between this document and another document or application. */ autoPiP?: Components.VmHls["autoPiP"]; /** **EXPERIMENTAL:** Prevents the browser from suggesting a picture-in-picture context menu or to request picture-in-picture automatically in some cases. */ disablePiP?: Components.VmHls["disablePiP"]; /** **EXPERIMENTAL:** Whether to disable the capability of remote playback in devices that are attached using wired (HDMI, DVI, etc.) and wireless technologies (Miracast, Chromecast, DLNA, AirPlay, etc). */ disableRemotePlayback?: Components.VmHls["disableRemotePlayback"]; /** */ playbackReady?: Components.VmHls["playbackReady"]; /** The title of the current media. */ mediaTitle?: Components.VmHls["mediaTitle"]; } interface VmHlsEvents { /** Emitted when an error has occurred. */ vmError: Parameters[0]; } interface VmHlsSlots { default: any; } import { SvelteComponent } from "svelte/internal"; declare class Hls extends SvelteComponent { $$prop_def: VmHlsProps; $$events_def: VmHlsEvents; $$slot_def: VmHlsSlots; $on(type: K, callback: (e: VmHlsEvents[K]) => any): () => void; $set($$props: Partial): void; constructor(options: any); /** */ get getAdapter(): Components.VmHls["getAdapter"]; get ref(): any; get getWebComponent(): HTMLVmHlsElement | undefined; } export default Hls;