import { Kbps, IRectangle, VideoQuality } from '@vkontakte/videoplayer-shared';
import { IInternalTextTrack } from '../../player/types';
export type ManifestUrl = {
    id: string;
    quality: VideoQuality;
    url: string;
    bandwidth?: Kbps;
    size?: IRectangle;
    fps?: number;
};
export type HLSManifestData = {
    qualityManifests: ManifestUrl[];
    textTracks: IInternalTextTrack[];
};
type ExtractHLSManifestDataConfig = {
    manifestRetryMaxCount: number;
    manifestRetryInterval: number;
    manifestRetryMaxInterval: number;
};
declare const extractHLSManifestData: (masterManifestUrl: string, baseUrl: string | undefined, config: ExtractHLSManifestDataConfig, init?: RequestInit) => Promise<HLSManifestData>;
export default extractHLSManifestData;
