export default class BoomError extends Error {
    static instanceOf(error: any): boolean;
    private BoomErrorFlag;
    private code;
    private eName;
    private RTCType;
    private error;
    /**
     * @internal
     * @param code
     * @param name
     * @param message
     */
    constructor(code: number, message?: any, error?: any, name?: string);
    /**
     * 获取错误码
     *
     * @returns 错误码
     */
    getCode(): number;
}
