// SPDX-License-Identifier: Apache-2.0
import { SemanticVersion } from '../../../business/utils/semantic-version.js';
/**
 * The response from the helm version command.
 */
export class Version {
    version;
    constructor(version) {
        this.version = version;
    }
    /**
     * Returns a SemanticVersion representation of the version.
     * @returns the helm version
     */
    asSemanticVersion() {
        return new SemanticVersion(this.version);
    }
}
//# sourceMappingURL=version.js.map