export type HlsMiniConfig = { audio?: boolean; maxResolution?: string; maxBufferLength?: number; debug?: boolean; }; type BaseRendition = { uri?: string; mimeType: string; codec?: string; codecs?: string; segments?: Segment[]; }; export type AudioRendition = BaseRendition & { type?: 'audio'; default?: 'YES' | 'NO'; groupId?: string; }; export type VideoRendition = BaseRendition & { audio?: string; width?: number; height?: number; }; export type Rendition = AudioRendition & VideoRendition; export type Segment = { duration: number; uri?: string; start?: number; end?: number; }; declare global { interface ManagedMediaSource extends MediaSource { } var ManagedMediaSource: { prototype: ManagedMediaSource; new (): ManagedMediaSource; } | undefined; interface Window { ManagedMediaSource?: ManagedMediaSource; } } export {};