type Props = { src: string; /** Poster image shown before playback; falls back to the video's first frame when omitted. */ poster?: string; /** * When `true`, the player re-publishes its current `currentTime` / `duration` upward via * `on.timeUpdate` / `on.durationChange` so the parent can read this slide's state on * carousel navigation. Native HTML5 `durationchange` only fires once on metadata load, * so the parent can't recover those values just from native events. */ active?: boolean; on?: { timeUpdate?: (currentTime: number) => void; durationChange?: (duration: number) => void; /** Fires when `active` flips true. Carries this player's stable id so parent can route seeks. */ activate?: (id: string) => void; }; }; /** * Internal video player used by `GridCardMedia` for a single playable media item. Integrates * with the global `PlaybackManager` so only one player can play at a time. Exposes `seekTo(t)` * via `bind:this` for parent seek-bar sync. Not exported standalone — use `GridCardMedia`. * * The centred control renders `PlayIndicator`, so its size and shadow are tuned through the * `--sc-kit--play-indicator--*` variables set anywhere above the card. */ declare const VideoPlayer: import("svelte").Component void; }, "">; type VideoPlayer = ReturnType; export default VideoPlayer;