import { type ProgramIO } from '../cli-helpers.js'; import type { RequestTransitionOptions } from './request-command-options.js'; /** * The clause a soft-pass warning gains once its back-compat window has closed. * It renders the `expiredWindow` the resolver set (the release the table * declared, plus the build it was compared against) and is empty while the * window is open — an open window is already the future tense the warning's own * message uses, so it needs no clause. * * Shared with `printTransitionResult` in `request-transition-command.ts`: the * success arm and this refusal arm render one fact one way, so an operator who * sees the same soft pass through either arm reads the same sentence. */ export declare function softWarningExpiryClause(warning: { expiredWindow?: string; }): string; /** * Map a thrown transition error to its envelope. `InvalidArgumentError` is * re-thrown: Commander raises it for an unparsable `--state`, and swallowing it * here would report a usage error as a transition failure. */ export declare function reportTransitionFailure(io: ProgramIO, options: RequestTransitionOptions, requestId: string, error: unknown): void;