/**
 * @author WMXPY
 * @namespace Util_Error
 * @description Error
 */
import * as EST from "estree";
import { ERROR_CODE } from "../../declare/error-code";
import { ITrace } from "../../declare/variable";
export declare class MarkedError extends Error {
    code: number;
    description: string;
    message: string;
    info: string | null;
    trace: ITrace | null;
    node: EST.Node | null;
    constructor(code: number, description: string, info?: string, node?: EST.Node, trace?: ITrace);
}
export declare const error: (code: ERROR_CODE, info?: string, node?: EST.Node, trace?: ITrace) => MarkedError;
