import { OutfitterError } from "@outfitter/contracts"; import { Result } from "@outfitter/contracts"; interface UpgradeApplyInput { readonly latestVersion: string; readonly name: string; } /** * Apply non-breaking updates to package.json and run `bun install`. * * Reads the package.json, updates version ranges for the specified packages * (preserving the existing range prefix), writes it back, and runs install. */ declare function applyUpdates(cwd: string, updates: readonly UpgradeApplyInput[]): Promise>; export { applyUpdates };