import { Components, JSX } from '@vime/core'; interface VmPosterProps { class?: string; style?: string; /** How the poster image should be resized to fit the container (sets the `object-fit` property). */ fit?: Components.VmPoster["fit"]; /** */ isVideoView?: Components.VmPoster["isVideoView"]; /** */ currentPoster?: Components.VmPoster["currentPoster"]; /** */ mediaTitle?: Components.VmPoster["mediaTitle"]; /** */ playbackStarted?: Components.VmPoster["playbackStarted"]; /** */ currentTime?: Components.VmPoster["currentTime"]; } interface VmPosterEvents { /** Emitted when the poster has loaded. */ vmLoaded: Parameters[0]; /** Emitted when the poster will be shown. */ vmWillShow: Parameters[0]; /** Emitted when the poster will be hidden. */ vmWillHide: Parameters[0]; } interface VmPosterSlots { default: any; } import { SvelteComponent } from "svelte/internal"; declare class Poster extends SvelteComponent { $$prop_def: VmPosterProps; $$events_def: VmPosterEvents; $$slot_def: VmPosterSlots; $on(type: K, callback: (e: VmPosterEvents[K]) => any): () => void; $set($$props: Partial): void; constructor(options: any); get ref(): any; get getWebComponent(): HTMLVmPosterElement | undefined; } export default Poster;