export declare const VIDEO_PLAYBACK_FALLBACK_CANCEL_EVENT = "signage:video-playback-fallback-cancel"; export declare const VIDEO_PLAYBACK_START_TIMEOUT_MS = 15000; export declare const VIDEO_PLAYBACK_FALLBACK_REQUEST_EVENT = "signage:video-playback-fallback-request"; export declare const VIDEO_PLAYBACK_FALLBACK_RESULT_EVENT = "signage:video-playback-fallback-result"; export type VideoPlaybackFallbackReason = 'media_error' | 'startup_timeout'; export interface VideoPlaybackStateSnapshot { currentSrc: string; currentTime: number; paused: boolean; readyState: number; networkState: number; errorCode: number | null; errorMessage: string; } export interface VideoPlaybackFallbackAsset { url: string; type: 'video'; sizeBytes?: number; hash?: string; name?: string; source?: string; refId?: string; thumbnailUrl?: string; } export interface VideoPlaybackFallbackRequestDetail { elementId: string; sourceUrl: string; reason: VideoPlaybackFallbackReason; asset: VideoPlaybackFallbackAsset; media: VideoPlaybackStateSnapshot; } export interface VideoPlaybackFallbackResultDetail { elementId: string; sourceUrl: string; status: 'downloading' | 'ready' | 'failed'; canResumeRemote?: boolean; localUrl?: string; error?: string; }