import type { ApiResponse, M3u8DLOptions, M3u8DLResult, VideoInfo } from '../types'; export declare class VideoParser { private static readonly platforms; /** * 解析视频 URL */ static parse(url: string, headers?: Record): Promise>; static download(url: string, options: M3u8DLOptions): Promise; /** * 根据 URL 获取平台标识 */ static getPlatform(url: string): { url: string; platform: string; errmsg?: undefined; } | { url: string; platform: string; errmsg: string; }; /** * 获取所有支持的平台列表 */ static getSupportedPlatforms(): string[]; }