/**
* Utility class for parsing HTML content to extract Terabox-specific data.
* This is crucial for bypassing the initial share page protection.
*/
export declare class DataParser {
/**
* Extracts essential parameters (share ID, file list, etc.) from the Terabox share page HTML.
* The parameters are usually embedded in a script tag as JSON data.
* @param html The HTML content of the Terabox share page.
* @returns An object containing the extracted parameters, or null if parsing fails.
*/
static extractShareParams(html: string): {
shareId: string;
uk: string;
sign: string;
timestamp: string;
fileList: any[];
} | null;
/**
* Extracts the fs_id (File System ID) from the file list.
* This is the ID needed for the direct download API call.
* @param fileList The list of files extracted from the share page.
* @returns The fs_id of the first file, or null if not found.
*/
static extractFsId(fileList: any[]): string | null;
}