import { SemVer } from "semver";
export interface JavaVersionIdentifier {
    identifyJavaVersion(javaCommand: string): Promise<SemVer | null>;
}
export declare class RuntimeJavaVersionIdentifier implements JavaVersionIdentifier {
    private readonly cache;
    identifyJavaVersion(javaCommand: string): Promise<SemVer | null>;
}
export declare function _extractJavaVersionFrom(javaVersionOutput: string): SemVer | null;
