declare namespace findJavaHome {
    interface IOptions {
        allowJre: boolean;
        registry?: RegArch;
    }
}
declare type RegArch = "x86" | "x64";
declare type Callback = (err: Error, res: any) => void;
declare function findJavaHome(cb: Callback): void;
declare function findJavaHome(options: findJavaHome.IOptions, cb: Callback): void;
export = findJavaHome;
