/**
 * @fileoverview Utility for downloading testlib.h from GitHub.
 * Provides simple file download functionality with redirect handling.
 */
/**
 * Downloads a file from a URL using HTTPS.
 * Automatically handles HTTP redirects (301, 302).
 *
 * @param {string} url - The URL to download from
 * @returns {Promise<string>} The downloaded file content as a string
 *
 * @throws {Error} If download fails or HTTP status is not 200/301/302
 *
 * @example
 * const testlibContent = await downloadFile(
 *   'https://raw.githubusercontent.com/MikeMirzayanov/testlib/master/testlib.h'
 * );
 * fs.writeFileSync('testlib.h', testlibContent);
 */
export declare function downloadFile(url: string): Promise<string>;
//# sourceMappingURL=testlib-download.d.ts.map