import { OclifError, PrettyPrintableError } from '../../interfaces/errors';
/**
 * properties specific to internal oclif error handling
 */
export declare function addOclifExitCode(error: Record<string, any>, options?: {
    exit?: false | number;
}): OclifError;
export declare class CLIError extends Error implements OclifError {
    code?: string;
    oclif: OclifError['oclif'];
    skipOclifErrorHandling?: boolean;
    suggestions?: string[];
    constructor(error: Error | string, options?: {
        exit?: false | number;
    } & PrettyPrintableError);
    get bang(): string | undefined;
    get stack(): string;
    /**
     * @deprecated `render` Errors display should be handled by display function, like pretty-print
     * @return {string} returns a string representing the dispay of the error
     */
    render(): string;
}
export declare namespace CLIError {
    class Warn extends CLIError {
        constructor(err: Error | string);
        get bang(): string | undefined;
    }
}
