export interface PlayerErrorModalDeps {
    isDisabled: () => boolean;
    onRetry: () => void;
}
export interface PlayerErrorModalController {
    show: (message: string) => void;
    isShowing: () => boolean;
}
/**
 * Default-on error + retry dialog, shared by both the native `onError` (media
 * dispatch) and `hlsError` (clarity) paths so they can't stack two modals or
 * drift out of sync on the "is one currently showing" flag. `r-modal` is
 * lazy-loaded — nothing is fetched until an error actually happens, same
 * recipe as r-mermaid's fullscreen lightbox (`import('../../modal')`).
 */
export declare function createErrorModalController(deps: PlayerErrorModalDeps): PlayerErrorModalController;
