/**
 * Rewrites a dependency version spec to the desired target,
 * covering all version patterns:
 *
 * - Plain semver:  "21.2.3" -> "22.0.0"
 * - Major.x:       "21.x"   -> "22.x"
 * - Caret:         "^21.0.0" -> "^22.0.0"
 * - Ranges (||):   "^20.0.0 || ^21.0.0" -> "... || ^22.0.0" (if missing)
 *
 * Leaves other patterns ("~21.0.0", tags, URLs) unchanged.
 */
export declare const computeUpdatedVersionPattern: (spec: string, latestVersion: string) => string;
