import type { Command as Program } from 'commander';
type actionCallbackFunction = Parameters<Program['action']>[0];
/**
 * Wraps action to handle error console logging and exit process with error code
 *
 * @param action Action to be wrapped in error handling
 * @returns Wrapped action
 * @private internal helper function for CLI commands
 */
export declare function handleActionErrors(action: actionCallbackFunction): actionCallbackFunction;
export {};
