type CliErrorWithExit = Error & {
    cliExit: number;
};
declare function attachExit(err: Error, code: number): CliErrorWithExit;
declare function cliUsageError(message: string): CliErrorWithExit;
declare function cliIoError(message: string, cause?: unknown): CliErrorWithExit;
declare function getCliExitCode(e: unknown): number;
export type { CliErrorWithExit };
export { attachExit, cliUsageError, cliIoError, getCliExitCode };
