export type MediaPlaybackPause = () => void; export type MediaPlaybackContextValue = { /** Claim exclusive playback; pauses whichever attachment was active. */ requestPlayback: (id: string, pause: MediaPlaybackPause) => void; /** Release the slot when this attachment stops or unmounts. */ releasePlayback: (id: string) => void; }; /** * Coordinates inline media attachments so only one plays at a time within an * {@link AppShell} or {@link Window} chat surface. Published by * {@link MediaPlaybackProvider}; `null` outside both (media components no-op). */ export declare const MediaPlaybackContext: import('react').Context;