declare namespace java {
    namespace math {
        // @ts-ignore
         class RoundingMode extends java.lang.Enum {
            // @ts-ignore
            public static UP: java.math.RoundingMode;
            // @ts-ignore
            public static DOWN: java.math.RoundingMode;
            // @ts-ignore
            public static CEILING: java.math.RoundingMode;
            // @ts-ignore
            public static FLOOR: java.math.RoundingMode;
            // @ts-ignore
            public static HALF_UP: java.math.RoundingMode;
            // @ts-ignore
            public static HALF_DOWN: java.math.RoundingMode;
            // @ts-ignore
            public static HALF_EVEN: java.math.RoundingMode;
            // @ts-ignore
            public static UNNECESSARY: java.math.RoundingMode;
            // @ts-ignore
            public static values(): java.math.RoundingMode[];
            // @ts-ignore
            public static valueOf(name: string): java.math.RoundingMode;
            /**
             * Returns the {@code RoundingMode} object corresponding to a
             * legacy integer rounding mode constant in {@link BigDecimal}.
             */
            // @ts-ignore
            public static valueOf(rm: number): java.math.RoundingMode;
        }
    }
}
