import { PrettyPrintableError } from '../interfaces';
export declare function error(input: Error | string, options: {
    exit: false;
} & PrettyPrintableError): void;
export declare function error(input: Error | string, options?: {
    exit?: number;
} & PrettyPrintableError): never;
export default error;
