import type { Translations } from '@nomercy-entertainment/nomercy-player-core'; import type { MediaSessionMetadata } from '@nomercy-entertainment/nomercy-player-core/plugins/media-session'; import type { NMVideoPlayer } from '../../index.js'; import type { VideoPlaylistItem } from '../../types.js'; import { MediaSessionPlugin as BaseMediaSession } from '@nomercy-entertainment/nomercy-player-core/plugins/media-session'; /** * Video-specific MediaSession integration. Overrides text metadata only — * artwork resolution lives in the kit base class and flows through * `resolveUrl(url, 'poster')`, which consults `baseImageUrl`. * * Fills `artist` with the show name and `album` with the season label so the * OS "Now Playing" surface shows TV-style metadata for series. Reads only * fields on the canonical `VideoPlaylistItem` (T). Consumers that carry * server-specific fields (e.g. `year`, `name`) should subclass and override * `getMetadata()` — do NOT cast to a richer intersection in this built-in. */ export declare class MediaSessionPlugin extends BaseMediaSession> { static readonly id: string; static readonly translations: Translations; protected getMetadata(item: T): MediaSessionMetadata; } export declare const mediaSessionPlugin: typeof MediaSessionPlugin;