import { MediaPptxElement } from 'pptx-viewer-core'; /** * Source resolution for `media` (audio / video) elements (port of the vanilla * binding's `renderMediaElement` cascade): `mediaData` (data-URL embedded by * the load pipeline) first, then `mediaPath` looked up in the media URL map; * the poster / thumbnail resolves via the shared `getImageSrc` * (`posterFrameData` / `posterFramePath`). */ export interface MediaView { /** Playable source URL, when one could be resolved. */ mediaSrc: string | undefined; /** Poster / thumbnail image URL, when one exists. */ posterSrc: string | undefined; } /** Resolve the playable and poster sources for a media element. */ export declare function resolveMediaView(element: MediaPptxElement, mediaDataUrls: Map): MediaView; /** * Register a `playAcrossSlides` audio element with the shared persistent-audio * manager, using the same resolved source, loop, volume and trim start the * slide-local element would have used. PowerPoint keeps such background audio * playing when the show advances, but the slide-local `