import type { BumpInfo } from '../types/BumpInfo'; import type { ChangeSet, ChangeType } from '../types/ChangeInfo'; /** * List of all change types from least to most significant. */ export declare const SortedChangeTypes: readonly ["none", "prerelease", "prepatch", "patch", "preminor", "minor", "premajor", "major"]; /** `'none'` change type (smallest weight) */ export declare const MinChangeType: ChangeType; /** * Get initial package change types based on the greatest change type set for each package in any * change file, accounting for any disallowed change types. (Nonexistent or private packages were * already filtered out by `readChangeFiles`.) * * Anything with change type "none" will be ignored. */ export declare function initializePackageChangeTypes(changeSet: ChangeSet): BumpInfo['calculatedChangeTypes']; /** * Get the max allowed change type out of `changeTypes`, accounting for disallowed change types: * e.g. if `changeTypes` is `["major", "patch"]`, and `"major"` is disallowed, the result will be `"minor"` * (the greatest allowed change type). */ export declare function getMaxChangeType(changeTypes: (ChangeType | undefined)[], disallowedChangeTypes?: ReadonlyArray | null): ChangeType; //# sourceMappingURL=changeTypes.d.ts.map