declare namespace java {
    namespace awt {
        namespace color {
            // @ts-ignore
             class ICC_Profile extends java.lang.Object {
                // @ts-ignore
                public static CLASS_INPUT: number;
                // @ts-ignore
                public static CLASS_DISPLAY: number;
                // @ts-ignore
                public static CLASS_OUTPUT: number;
                // @ts-ignore
                public static CLASS_DEVICELINK: number;
                // @ts-ignore
                public static CLASS_COLORSPACECONVERSION: number;
                // @ts-ignore
                public static CLASS_ABSTRACT: number;
                // @ts-ignore
                public static CLASS_NAMEDCOLOR: number;
                // @ts-ignore
                public static icSigXYZData: number;
                // @ts-ignore
                public static icSigLabData: number;
                // @ts-ignore
                public static icSigLuvData: number;
                // @ts-ignore
                public static icSigYCbCrData: number;
                // @ts-ignore
                public static icSigYxyData: number;
                // @ts-ignore
                public static icSigRgbData: number;
                // @ts-ignore
                public static icSigGrayData: number;
                // @ts-ignore
                public static icSigHsvData: number;
                // @ts-ignore
                public static icSigHlsData: number;
                // @ts-ignore
                public static icSigCmykData: number;
                // @ts-ignore
                public static icSigCmyData: number;
                // @ts-ignore
                public static icSigSpace2CLR: number;
                // @ts-ignore
                public static icSigSpace3CLR: number;
                // @ts-ignore
                public static icSigSpace4CLR: number;
                // @ts-ignore
                public static icSigSpace5CLR: number;
                // @ts-ignore
                public static icSigSpace6CLR: number;
                // @ts-ignore
                public static icSigSpace7CLR: number;
                // @ts-ignore
                public static icSigSpace8CLR: number;
                // @ts-ignore
                public static icSigSpace9CLR: number;
                // @ts-ignore
                public static icSigSpaceACLR: number;
                // @ts-ignore
                public static icSigSpaceBCLR: number;
                // @ts-ignore
                public static icSigSpaceCCLR: number;
                // @ts-ignore
                public static icSigSpaceDCLR: number;
                // @ts-ignore
                public static icSigSpaceECLR: number;
                // @ts-ignore
                public static icSigSpaceFCLR: number;
                // @ts-ignore
                public static icSigInputClass: number;
                // @ts-ignore
                public static icSigDisplayClass: number;
                // @ts-ignore
                public static icSigOutputClass: number;
                // @ts-ignore
                public static icSigLinkClass: number;
                // @ts-ignore
                public static icSigAbstractClass: number;
                // @ts-ignore
                public static icSigColorSpaceClass: number;
                // @ts-ignore
                public static icSigNamedColorClass: number;
                // @ts-ignore
                public static icPerceptual: number;
                // @ts-ignore
                public static icRelativeColorimetric: number;
                // @ts-ignore
                public static icMediaRelativeColorimetric: number;
                // @ts-ignore
                public static icSaturation: number;
                // @ts-ignore
                public static icAbsoluteColorimetric: number;
                // @ts-ignore
                public static icICCAbsoluteColorimetric: number;
                // @ts-ignore
                public static icSigHead: number;
                // @ts-ignore
                public static icSigAToB0Tag: number;
                // @ts-ignore
                public static icSigAToB1Tag: number;
                // @ts-ignore
                public static icSigAToB2Tag: number;
                // @ts-ignore
                public static icSigBlueColorantTag: number;
                // @ts-ignore
                public static icSigBlueMatrixColumnTag: number;
                // @ts-ignore
                public static icSigBlueTRCTag: number;
                // @ts-ignore
                public static icSigBToA0Tag: number;
                // @ts-ignore
                public static icSigBToA1Tag: number;
                // @ts-ignore
                public static icSigBToA2Tag: number;
                // @ts-ignore
                public static icSigCalibrationDateTimeTag: number;
                // @ts-ignore
                public static icSigCharTargetTag: number;
                // @ts-ignore
                public static icSigCopyrightTag: number;
                // @ts-ignore
                public static icSigCrdInfoTag: number;
                // @ts-ignore
                public static icSigDeviceMfgDescTag: number;
                // @ts-ignore
                public static icSigDeviceModelDescTag: number;
                // @ts-ignore
                public static icSigDeviceSettingsTag: number;
                // @ts-ignore
                public static icSigGamutTag: number;
                // @ts-ignore
                public static icSigGrayTRCTag: number;
                // @ts-ignore
                public static icSigGreenColorantTag: number;
                // @ts-ignore
                public static icSigGreenMatrixColumnTag: number;
                // @ts-ignore
                public static icSigGreenTRCTag: number;
                // @ts-ignore
                public static icSigLuminanceTag: number;
                // @ts-ignore
                public static icSigMeasurementTag: number;
                // @ts-ignore
                public static icSigMediaBlackPointTag: number;
                // @ts-ignore
                public static icSigMediaWhitePointTag: number;
                // @ts-ignore
                public static icSigNamedColor2Tag: number;
                // @ts-ignore
                public static icSigOutputResponseTag: number;
                // @ts-ignore
                public static icSigPreview0Tag: number;
                // @ts-ignore
                public static icSigPreview1Tag: number;
                // @ts-ignore
                public static icSigPreview2Tag: number;
                // @ts-ignore
                public static icSigProfileDescriptionTag: number;
                // @ts-ignore
                public static icSigProfileSequenceDescTag: number;
                // @ts-ignore
                public static icSigPs2CRD0Tag: number;
                // @ts-ignore
                public static icSigPs2CRD1Tag: number;
                // @ts-ignore
                public static icSigPs2CRD2Tag: number;
                // @ts-ignore
                public static icSigPs2CRD3Tag: number;
                // @ts-ignore
                public static icSigPs2CSATag: number;
                // @ts-ignore
                public static icSigPs2RenderingIntentTag: number;
                // @ts-ignore
                public static icSigRedColorantTag: number;
                // @ts-ignore
                public static icSigRedMatrixColumnTag: number;
                // @ts-ignore
                public static icSigRedTRCTag: number;
                // @ts-ignore
                public static icSigScreeningDescTag: number;
                // @ts-ignore
                public static icSigScreeningTag: number;
                // @ts-ignore
                public static icSigTechnologyTag: number;
                // @ts-ignore
                public static icSigUcrBgTag: number;
                // @ts-ignore
                public static icSigViewingCondDescTag: number;
                // @ts-ignore
                public static icSigViewingConditionsTag: number;
                // @ts-ignore
                public static icSigChromaticityTag: number;
                // @ts-ignore
                public static icSigChromaticAdaptationTag: number;
                // @ts-ignore
                public static icSigColorantOrderTag: number;
                // @ts-ignore
                public static icSigColorantTableTag: number;
                // @ts-ignore
                public static icHdrSize: number;
                // @ts-ignore
                public static icHdrCmmId: number;
                // @ts-ignore
                public static icHdrVersion: number;
                // @ts-ignore
                public static icHdrDeviceClass: number;
                // @ts-ignore
                public static icHdrColorSpace: number;
                // @ts-ignore
                public static icHdrPcs: number;
                // @ts-ignore
                public static icHdrDate: number;
                // @ts-ignore
                public static icHdrMagic: number;
                // @ts-ignore
                public static icHdrPlatform: number;
                // @ts-ignore
                public static icHdrFlags: number;
                // @ts-ignore
                public static icHdrManufacturer: number;
                // @ts-ignore
                public static icHdrModel: number;
                // @ts-ignore
                public static icHdrAttributes: number;
                // @ts-ignore
                public static icHdrRenderingIntent: number;
                // @ts-ignore
                public static icHdrIlluminant: number;
                // @ts-ignore
                public static icHdrCreator: number;
                // @ts-ignore
                public static icHdrProfileID: number;
                // @ts-ignore
                public static icTagType: number;
                // @ts-ignore
                public static icTagReserved: number;
                // @ts-ignore
                public static icCurveCount: number;
                // @ts-ignore
                public static icCurveData: number;
                // @ts-ignore
                public static icXYZNumberX: number;
                /**
                 * Frees the resources associated with an ICC_Profile object.
                 */
                // @ts-ignore
                protected finalize(): void;
                /**
                 * Constructs an ICC_Profile object corresponding to the data in
                 * a byte array.  Throws an IllegalArgumentException if the data
                 * does not correspond to a valid ICC Profile.
                 */
                // @ts-ignore
                public static getInstance(data: number): java.awt.color.ICC_Profile;
                /**
                 * Constructs an ICC_Profile corresponding to one of the specific color
                 * spaces defined by the ColorSpace class (for example CS_sRGB).
                 * Throws an IllegalArgumentException if cspace is not one of the
                 * defined color spaces.
                 */
                // @ts-ignore
                public static getInstance(cspace: number): java.awt.color.ICC_Profile;
                /**
                 * Constructs an ICC_Profile corresponding to the data in a file.
                 * fileName may be an absolute or a relative file specification.
                 * Relative file names are looked for in several places: first, relative
                 * to any directories specified by the java.iccprofile.path property;
                 * second, relative to any directories specified by the java.class.path
                 * property; finally, in a directory used to store profiles always
                 * available, such as the profile for sRGB.  Built-in profiles use .pf as
                 * the file name extension for profiles, e.g. sRGB.pf.
                 * This method throws an IOException if the specified file cannot be
                 * opened or if an I/O error occurs while reading the file.  It throws
                 * an IllegalArgumentException if the file does not contain valid ICC
                 * Profile data.
                 */
                // @ts-ignore
                public static getInstance(fileName: string): java.awt.color.ICC_Profile;
                /**
                 * Constructs an ICC_Profile corresponding to the data in an InputStream.
                 * This method throws an IllegalArgumentException if the stream does not
                 * contain valid ICC Profile data.  It throws an IOException if an I/O
                 * error occurs while reading the stream.
                 */
                // @ts-ignore
                public static getInstance(s: java.io.InputStream): java.awt.color.ICC_Profile;
                /**
                 * Returns profile major version.
                 */
                // @ts-ignore
                public getMajorVersion(): number;
                /**
                 * Returns profile minor version.
                 */
                // @ts-ignore
                public getMinorVersion(): number;
                /**
                 * Returns the profile class.
                 */
                // @ts-ignore
                public getProfileClass(): number;
                /**
                 * Returns the color space type.  Returns one of the color space type
                 * constants defined by the ColorSpace class.  This is the
                 * "input" color space of the profile.  The type defines the
                 * number of components of the color space and the interpretation,
                 * e.g. TYPE_RGB identifies a color space with three components - red,
                 * green, and blue.  It does not define the particular color
                 * characteristics of the space, e.g. the chromaticities of the
                 * primaries.
                 */
                // @ts-ignore
                public getColorSpaceType(): number;
                /**
                 * Returns the color space type of the Profile Connection Space (PCS).
                 * Returns one of the color space type constants defined by the
                 * ColorSpace class.  This is the "output" color space of the
                 * profile.  For an input, display, or output profile useful
                 * for tagging colors or images, this will be either TYPE_XYZ or
                 * TYPE_Lab and should be interpreted as the corresponding specific
                 * color space defined in the ICC specification.  For a device
                 * link profile, this could be any of the color space type constants.
                 */
                // @ts-ignore
                public getPCSType(): number;
                /**
                 * Write this ICC_Profile to a file.
                 */
                // @ts-ignore
                public write(fileName: string): void;
                /**
                 * Write this ICC_Profile to an OutputStream.
                 */
                // @ts-ignore
                public write(s: java.io.OutputStream): void;
                /**
                 * Returns a byte array corresponding to the data of this ICC_Profile.
                 */
                // @ts-ignore
                public getData(): number[];
                /**
                 * Returns a particular tagged data element from the profile as
                 * a byte array.  Elements are identified by signatures
                 * as defined in the ICC specification.  The signature
                 * icSigHead can be used to get the header.  This method is useful
                 * for advanced applets or applications which need to access
                 * profile data directly.
                 */
                // @ts-ignore
                public getData(tagSignature: number): number[];
                /**
                 * Sets a particular tagged data element in the profile from
                 * a byte array. The array should contain data in a format, corresponded
                 * to the {@code tagSignature} as defined in the ICC specification, section 10.
                 * This method is useful for advanced applets or applications which need to
                 * access profile data directly.
                 */
                // @ts-ignore
                public setData(tagSignature: number, tagData: number): void;
                /**
                 * Returns the number of color components in the "input" color
                 * space of this profile.  For example if the color space type
                 * of this profile is TYPE_RGB, then this method will return 3.
                 */
                // @ts-ignore
                public getNumComponents(): number;
                /**
                 * Resolves instances being deserialized into instances registered
                 * with CMM.
                 */
                // @ts-ignore
                protected readResolve(): java.lang.Object;
            }
        }
    }
}
