export declare function cliError(err: any, exitOnError?: boolean): void;