import type { ApiResponse, VideoInfo } from '../../types';
export declare abstract class BaseParser {
    protected static success<T>(data: T): ApiResponse<T>;
    protected static error(code: number, message: string): ApiResponse<null>;
    static parse(url: string, headers?: Record<string, string>): Promise<ApiResponse<VideoInfo>>;
}
