declare namespace java {
    namespace awt {
        namespace font {
            // @ts-ignore
             class TextAttribute extends java.text.AttributedCharacterIterator.Attribute {
                /**
                 * Constructs a <code>TextAttribute</code> with the specified name.
                 */
                // @ts-ignore
                constructor(name: string)
                // @ts-ignore
                public static FAMILY: java.awt.font.TextAttribute;
                // @ts-ignore
                public static WEIGHT: java.awt.font.TextAttribute;
                // @ts-ignore
                public static WEIGHT_EXTRA_LIGHT: java.lang.Float;
                // @ts-ignore
                public static WEIGHT_LIGHT: java.lang.Float;
                // @ts-ignore
                public static WEIGHT_DEMILIGHT: java.lang.Float;
                // @ts-ignore
                public static WEIGHT_REGULAR: java.lang.Float;
                // @ts-ignore
                public static WEIGHT_SEMIBOLD: java.lang.Float;
                // @ts-ignore
                public static WEIGHT_MEDIUM: java.lang.Float;
                // @ts-ignore
                public static WEIGHT_DEMIBOLD: java.lang.Float;
                // @ts-ignore
                public static WEIGHT_BOLD: java.lang.Float;
                // @ts-ignore
                public static WEIGHT_HEAVY: java.lang.Float;
                // @ts-ignore
                public static WEIGHT_EXTRABOLD: java.lang.Float;
                // @ts-ignore
                public static WEIGHT_ULTRABOLD: java.lang.Float;
                // @ts-ignore
                public static WIDTH: java.awt.font.TextAttribute;
                // @ts-ignore
                public static WIDTH_CONDENSED: java.lang.Float;
                // @ts-ignore
                public static WIDTH_SEMI_CONDENSED: java.lang.Float;
                // @ts-ignore
                public static WIDTH_REGULAR: java.lang.Float;
                // @ts-ignore
                public static WIDTH_SEMI_EXTENDED: java.lang.Float;
                // @ts-ignore
                public static WIDTH_EXTENDED: java.lang.Float;
                // @ts-ignore
                public static POSTURE: java.awt.font.TextAttribute;
                // @ts-ignore
                public static POSTURE_REGULAR: java.lang.Float;
                // @ts-ignore
                public static POSTURE_OBLIQUE: java.lang.Float;
                // @ts-ignore
                public static SIZE: java.awt.font.TextAttribute;
                // @ts-ignore
                public static TRANSFORM: java.awt.font.TextAttribute;
                // @ts-ignore
                public static SUPERSCRIPT: java.awt.font.TextAttribute;
                // @ts-ignore
                public static SUPERSCRIPT_SUPER: java.lang.Integer;
                // @ts-ignore
                public static SUPERSCRIPT_SUB: java.lang.Integer;
                // @ts-ignore
                public static FONT: java.awt.font.TextAttribute;
                // @ts-ignore
                public static CHAR_REPLACEMENT: java.awt.font.TextAttribute;
                // @ts-ignore
                public static FOREGROUND: java.awt.font.TextAttribute;
                // @ts-ignore
                public static BACKGROUND: java.awt.font.TextAttribute;
                // @ts-ignore
                public static UNDERLINE: java.awt.font.TextAttribute;
                // @ts-ignore
                public static UNDERLINE_ON: java.lang.Integer;
                // @ts-ignore
                public static STRIKETHROUGH: java.awt.font.TextAttribute;
                // @ts-ignore
                public static STRIKETHROUGH_ON: java.lang.Boolean;
                // @ts-ignore
                public static RUN_DIRECTION: java.awt.font.TextAttribute;
                // @ts-ignore
                public static RUN_DIRECTION_LTR: java.lang.Boolean;
                // @ts-ignore
                public static RUN_DIRECTION_RTL: java.lang.Boolean;
                // @ts-ignore
                public static BIDI_EMBEDDING: java.awt.font.TextAttribute;
                // @ts-ignore
                public static JUSTIFICATION: java.awt.font.TextAttribute;
                // @ts-ignore
                public static JUSTIFICATION_FULL: java.lang.Float;
                // @ts-ignore
                public static JUSTIFICATION_NONE: java.lang.Float;
                // @ts-ignore
                public static INPUT_METHOD_HIGHLIGHT: java.awt.font.TextAttribute;
                // @ts-ignore
                public static INPUT_METHOD_UNDERLINE: java.awt.font.TextAttribute;
                // @ts-ignore
                public static UNDERLINE_LOW_ONE_PIXEL: java.lang.Integer;
                // @ts-ignore
                public static UNDERLINE_LOW_TWO_PIXEL: java.lang.Integer;
                // @ts-ignore
                public static UNDERLINE_LOW_DOTTED: java.lang.Integer;
                // @ts-ignore
                public static UNDERLINE_LOW_GRAY: java.lang.Integer;
                // @ts-ignore
                public static UNDERLINE_LOW_DASHED: java.lang.Integer;
                // @ts-ignore
                public static SWAP_COLORS: java.awt.font.TextAttribute;
                // @ts-ignore
                public static SWAP_COLORS_ON: java.lang.Boolean;
                // @ts-ignore
                public static NUMERIC_SHAPING: java.awt.font.TextAttribute;
                // @ts-ignore
                public static KERNING: java.awt.font.TextAttribute;
                // @ts-ignore
                public static KERNING_ON: java.lang.Integer;
                // @ts-ignore
                public static LIGATURES: java.awt.font.TextAttribute;
                // @ts-ignore
                public static LIGATURES_ON: java.lang.Integer;
                // @ts-ignore
                public static TRACKING: java.awt.font.TextAttribute;
                // @ts-ignore
                public static TRACKING_TIGHT: java.lang.Float;
                // @ts-ignore
                public static TRACKING_LOOSE: java.lang.Float;
                /**
                 * Resolves instances being deserialized to the predefined constants.
                 */
                // @ts-ignore
                protected readResolve(): java.lang.Object;
            }
        }
    }
}
