/** * Manages media playback across the application * Ensures only one media file plays at a time */ declare class MediaManager { private static _currentlyPlaying; /** * Gets the currently playing media element */ static get currentlyPlaying(): HTMLMediaElement | null; /** * Sets the currently playing media element */ private static set currentlyPlaying(value); /** * Starts playback of a media element, stopping any currently playing media * @param {HTMLMediaElement} mediaElement - The audio/video element to play */ static play(mediaElement: HTMLMediaElement): void; /** * Stops playback of a media element * @param {HTMLMediaElement} mediaElement - The audio/video element to pause */ static pause(mediaElement: HTMLMediaElement): void; /** * Stops any currently playing media */ static stopAll(): void; /** * Cleans up references when a media element is destroyed * @param {HTMLMediaElement} mediaElement - The media element being destroyed */ static cleanup(mediaElement: HTMLMediaElement): void; } export default MediaManager;