import { DownloadProgress } from "../util/state"; export declare const exePath: string; export declare const ffmpegDir: string; export declare function getLocalVersion(): Promise; export declare function getLatestVersion(): Promise; /** * Downloads the latest ffmpeg binaries, if they are not currently on the system. */ export declare function downloadFFMPEG(): Promise; /** * Check the latest local YTDL version, if any, and update if the latest published version doesn't match. */ export declare function autoUpdate(): Promise; /** * Downloads a URL using youtube-dl. Returns the full file name, if the download works. */ export declare function download(url: string, filePath: string, progress?: DownloadProgress): Promise;