import { VersionLabel } from "./release"; import { ReleaseCalculationOptions } from "./types"; declare enum SEMVER { major = "major", premajor = "premajor", minor = "minor", preminor = "preminor", patch = "patch", prepatch = "prepatch", noVersion = "" } export declare const preVersionMap: Map; export declare type IVersionLabels = Map; export default SEMVER; /** Given two labels determine the next SEMVER bump. */ export declare function getHigherSemverTag(left: SEMVER, right: string): SEMVER; /** * Determine the version bump from the labels on merged PRs. * Respects skip-release labels and the "onlyPublishWithReleaseLabel" * strategy. */ export declare function calculateSemVerBump(labels: string[][], labelMap: IVersionLabels, { onlyPublishWithReleaseLabel }?: ReleaseCalculationOptions): SEMVER | SEMVER.noVersion; //# sourceMappingURL=semver.d.ts.map