/**
 * @author @PalonnyiOleksandr
 *
 * [WTEL-9414](https://webitel.atlassian.net/browse/WTEL-9414)
 *
 * Polling retry mechanism for media playback inside Document PiP window.
 * Restores streams from snapshot, mutes and plays all media elements until
 * all are ready or the timeout expires. Triggers vidstack playback after an
 * initial delay and re-kicks it periodically when any element stays stalled,
 * throttled to once per 1500 ms to avoid redundant calls.
 *
 * Background: browsers block autoplay until the user interacts with the page,
 * which caused the video to freeze after opening PiP. Since the video must
 * play immediately without any extra clicks, this retry loop works around that
 * by muting elements (which bypasses the autoplay restriction) and
 * re-attempting playback until all media is running.
 *
 * link to explanation - https://webitel.atlassian.net/browse/WTEL-9414?focusedCommentId=754533
 */
import type { MediaSnapshot } from '../../types/types';
export declare const createPlaybackRetry: (snapshot: MediaSnapshot[]) => {
    retryPlayback: (root: Element, durationMs?: number) => void;
    stopPlaybackRetry: () => void;
};
