declare namespace java {
    namespace awt {
        namespace Dialog {
            // @ts-ignore
             class ModalityType extends java.lang.Enum {
                // @ts-ignore
                public static MODELESS: java.awt.Dialog.ModalityType;
                // @ts-ignore
                public static DOCUMENT_MODAL: java.awt.Dialog.ModalityType;
                // @ts-ignore
                public static APPLICATION_MODAL: java.awt.Dialog.ModalityType;
                // @ts-ignore
                public static TOOLKIT_MODAL: java.awt.Dialog.ModalityType;
                // @ts-ignore
                public static values(): java.awt.Dialog.ModalityType[];
                // @ts-ignore
                public static valueOf(name: string): java.awt.Dialog.ModalityType;
            }
        }
    }
}
