/** How far a release moves the version. */ export type Bump = "patch" | "minor" | "major"; /** * The newest of `versions`, or `undefined` when none is major.minor.patch. * Anything else is skipped, as a tag nobody cut with a release would be. */ export declare function newest(versions: readonly string[]): string | undefined; /** Returns `version` moved by `type`. */ export declare function bump(version: string, type: Bump): string;