import type { Command, CommanderError } from "commander"; /** * Commander reports bad input in its own skin, and reports only the first * missing value it finds. This takes the reporting over: Commander's own error * output is silenced and every bad-input exit is re-raised as a * ValidationError, which the CLI renders once through the design system like * any other user error. Help and version exits (exit code 0) are not errors and * stay with the caller. */ export declare function interceptCommanderInputErrors(command: Command, handleNonErrorExit: (error: CommanderError) => never): void;