import type { OutgoingHttpHeaders } from 'node:http';
import type { M3u8Info } from '../types/m3u8';
/**
 * 解析 m3u8 文件
 * @param content m3u8 文件的内容，可为 http 远程地址、本地文件路径
 * @param cacheDir 缓存文件保存目录
 */
export declare function parseM3U8(content: string, cacheDir?: string, headers?: OutgoingHttpHeaders | string): Promise<M3u8Info>;
