/** * `chant dev rolling-upgrade ` command implementation. * * Detects rolling-spec drift for the aws, azure, and github lexicons. These * lexicons pin no version constant — "latest" is fetched on every regen. This * command regenerates from current-latest, diffs the produced API surface * against the committed baseline (surface.snapshot.json), and REPORTS the * result. It is a dry run: it never opens a PR, updates a branch, or writes the * baseline. PR automation and scheduling live in #527. * * The PR label an eventual automation would apply is derived from severity: * additive → `minor`, breaking → `major`. This command only prints it. */ import { type RollingUpgradeResult } from "../../codegen/rolling-upgrade.js"; export interface RollingUpgradeCliOptions { /** Resolved path to the lexicon directory. */ lexiconDir: string; /** Force re-fetch of the upstream spec (bypass cache). */ force?: boolean; /** Print subprocess output while running. */ verbose?: boolean; } /** * Run the rolling-upgrade check and return the result. * Returns a synthetic failed result when the directory is missing. */ export declare function runRollingUpgrade(opts: RollingUpgradeCliOptions): Promise; /** * Map surface severity to the semver PR label an upgrade would carry. * additive → minor, breaking → major, none → none. */ export declare function severityToLabel(severity: RollingUpgradeResult["severity"]): string; /** * Print the rolling-upgrade result to stdout. */ export declare function printRollingUpgradeResult(result: RollingUpgradeResult, json: boolean): void; //# sourceMappingURL=lexicon-rolling-upgrade.d.ts.map