import type { NextVersion, ProjectInfo, ReleaseType } from "../types/semver.js"; import type { SupportedSemverType } from "../types/tools.js"; export declare const SUPPORTED_SEMVER_TYPES_BY_PRIORITY: SupportedSemverType[]; export declare const getLatestSemverTag: (tags: string[]) => string | null; export declare const getProjectInfo: () => ProjectInfo; export declare const useExistingProjectVersion: (latestTag: string, projectVersion: string, releaseType: SupportedSemverType) => boolean; /** * * Finds the next version based on latest tag and project version. * If project version is already sufficiently increased from latest tag, it will be used (and not increased again). * Favors the latest semver tag, and fallbacks to project version if semver tag is not present. */ export declare const getNextVersion: (latestTag: string | null, projectInfo: ProjectInfo, releaseType: SupportedSemverType) => NextVersion; export declare const updateProjectVersion: (projectInfo: ProjectInfo, newVersion: string) => void; export declare const getSemverReleaseType: (latestTag: string | null, projectInfo: ProjectInfo) => ReleaseType; //# sourceMappingURL=semver.d.ts.map