yt-dlx
Version:
Effortless Audio-Video Downloader And Streamer!
9 lines • 435 B
TypeScript
/**
* Calculates the estimated time remaining based on the start time and completion percentage.
*
* @param startTime - The start time of the operation.
* @param percent - The completion percentage of the operation.
* @returns The estimated time remaining in seconds as a string with two decimal places.
*/
export default function calculateETA(startTime: Date, percent: number): string;
//# sourceMappingURL=calculateETA.d.ts.map