/// <reference types="mocha" />
import { Errors } from '@oclif/core';
/**
 * ensures that a oclif command or hook exits
 */
declare const _default: (code?: number) => {
    catch(ctx: {
        error: Errors.CLIError;
    }): void;
    run(): never;
};
export default _default;
