import EventEmitter from "events";
export interface JavaFileItem {
    path: string;
    executable?: boolean;
    url?: string;
    sha1?: string;
    size?: number;
    type?: string;
}
export interface JavaDownloadResult {
    files: JavaFileItem[];
    path: string;
}
export interface RuntimeDownloaderOptions {
    root: string;
    javaVersion?: string;
    variant?: "alpha" | "beta" | "delta" | "gamma" | "gamma-snapshot" | "jre-legacy";
}
export default class RuntimeDownloader extends EventEmitter {
    private root;
    private javaVersion;
    private variant;
    constructor(options: RuntimeDownloaderOptions);
    start(): Promise<void>;
    private downloadJava;
}
