export declare class SemVer {
    readonly major: number;
    readonly minor: number;
    readonly patch: number;
    readonly prerelease: string | null;
    readonly build: string | null;
    readonly original: string;
    constructor(input: string);
    static parse(input: string, throwOnError?: boolean): {
        major: number;
        minor: number;
        patch: number;
        prerelease: string;
        build: string;
        original: string;
    } | null;
    isGreaterThan(input: string | SemVer): boolean;
    isGreaterThanOrEqual(input: string | SemVer): boolean;
    isLesserThan(input: string | SemVer): boolean;
}
