/// <reference types="@nativescript/objc-node-api" />

declare const kColorSyncConversionOutChan: interop.Object;

declare const kColorSyncConversionNDLut: interop.Object;

declare const kColorSyncConversion3DLut: interop.Object;

declare const kColorSyncConversionChannelID: interop.Object;

declare const kColorSyncConversionParamCurve2: interop.Object;

declare const kColorSyncConversionParamCurve0: interop.Object;

declare const kColorSyncConversionMatrix: interop.Object;

declare const kColorSyncTransformUseITU709OETF: interop.Object;

declare const kColorSyncTransformProfileSequnce: interop.Object;

declare const kColorSyncTransformCreator: interop.Object;

declare const kColorSyncNormalQuality: interop.Object;

declare const kColorSyncBestQuality: interop.Object;

declare const kColorSyncConvertQuality: interop.Object;

declare const kColorSyncExtendedRange: interop.Object;

declare const kColorSyncTransformDeviceToDevice: interop.Object;

declare const kColorSyncTransformPCSToDevice: interop.Object;

declare const kColorSyncTransformPCSToPCS: interop.Object;

declare const kColorSyncTransformDeviceToPCS: interop.Object;

declare const kColorSyncTransformTag: interop.Object;

declare const kColorSyncRenderingIntentUseProfileHeader: interop.Object;

declare const kColorSyncRenderingIntentAbsolute: interop.Object;

declare const kColorSyncRenderingIntentSaturation: interop.Object;

declare const kColorSyncRenderingIntent: interop.Object;

declare const kColorSyncProfile: interop.Object;

declare const kColorSyncByteOrder16Big: number;

declare const kColorSyncByteOrder32Little: number;

declare const kColorSyncByteOrder16Little: number;

declare const kColorSyncByteOrderDefault: number;

declare const kColorSyncByteOrderMask: number;

declare const kColorSyncProfileCacheSeed: interop.Object;

declare const kColorSyncTransformDstSpace: interop.Object;

declare const kColorSyncDoNotSubstituteProfiles: interop.Object;

declare const kColorSyncSigMediaWhitePointTag: interop.Object;

declare const kColorSyncSigViewingCondDescTag: interop.Object;

declare const kColorSyncSigTechnologyTag: interop.Object;

declare const kColorSyncSigProfileSequenceDescTag: interop.Object;

declare const kColorSyncSigOutputClass: interop.Object;

declare const kColorSyncSigPreview2Tag: interop.Object;

declare const kColorSyncSigPreview0Tag: interop.Object;

declare const kColorSyncSigNamedColorClass: interop.Object;

declare const kColorSyncSigNamedColor2Tag: interop.Object;

declare const kColorSyncSigLinkClass: interop.Object;

declare const kColorSyncSigGamutTag: interop.Object;

declare const kColorSyncSigGreenColorantTag: interop.Object;

declare const kColorSyncSigGreenTRCTag: interop.Object;

declare const kColorSyncSigDeviceMfgDescTag: interop.Object;

declare const kColorSyncSigXYZData: interop.Object;

declare const kColorSyncSigLabData: interop.Object;

declare const kColorSyncSigBToA1Tag: interop.Object;

declare const kColorSyncSigAToB2Tag: interop.Object;

declare const kColorSyncSigAToB0Tag: interop.Object;

declare const kColorSyncProfilePCS: interop.Object;

declare const kColorSyncProfileClass: interop.Object;

declare const kColorSyncROMMRGBProfile: interop.Object;

declare const kColorSyncITUR2020Profile: interop.Object;

declare const kColorSyncDCIP3Profile: interop.Object;

declare const kColorSyncACESCGLinearProfile: interop.Object;

declare const kColorSyncGenericXYZProfile: interop.Object;

declare const kColorSyncAdobeRGB1998Profile: interop.Object;

declare const kColorSyncDisplayP3Profile: interop.Object;

declare const kColorSyncGenericCMYKProfile: interop.Object;

declare const kColorSyncGenericGrayProfile: interop.Object;

declare const kColorSyncProfileColorSpace: interop.Object;

declare const kColorSyncConvertUseExtendedRange: interop.Object;

declare const kColorSyncTransformCodeFragmentType: interop.Object;

declare const kColorSyncPQDerivative: interop.Object;

declare const kColorSyncProfileIsValid: interop.Object;

declare const kColorSyncSigMediaBlackPointTag: interop.Object;

declare const kColorSyncTransformFullConversionData: interop.Object;

declare const kColorSyncTransformInfo: interop.Object;

declare const kColorSyncTransformSimplifiedConversionData: interop.Object;

declare const kColorSyncSigAbstractClass: interop.Object;

declare const kColorSyncProfileHeader: interop.Object;

declare const kColorSyncProfileURL: interop.Object;

declare const kColorSyncConversionInpChan: interop.Object;

declare const kColorSyncTransformParametricConversionData: interop.Object;

declare const kColorSyncConversionParamCurve1: interop.Object;

declare const kColorSyncConversionParamCurve3: interop.Object;

declare const kColorSyncSigBToA0Tag: interop.Object;

declare const kColorSyncSigDisplayClass: interop.Object;

declare const kColorSyncSigCopyrightTag: interop.Object;

declare const kColorSyncSigGrayData: interop.Object;

declare const kColorSyncTransformSrcSpace: interop.Object;

declare const kColorSyncSigBlueColorantTag: interop.Object;

declare const kColorSyncITUR709Profile: interop.Object;

declare const kColorSyncSigCmykData: interop.Object;

declare const kColorSyncSigRedColorantTag: interop.Object;

declare const kColorSyncSigBlueTRCTag: interop.Object;

declare const kColorSyncSigInputClass: interop.Object;

declare const kColorSyncSigRedTRCTag: interop.Object;

declare const kColorSyncBlackPointCompensation: interop.Object;

declare const kColorSyncTransformCodeFragmentMD5: interop.Object;

declare const kColorSyncHDRDerivative: interop.Object;

declare const kColorSyncSRGBProfile: interop.Object;

declare const kColorSyncConversionGridPoints: interop.Object;

declare const kColorSyncGenericGrayGamma22Profile: interop.Object;

declare const kColorSyncConversion1DLut: interop.Object;

declare const kColorSyncProfileDescription: interop.Object;

declare const kColorSyncDraftQuality: interop.Object;

declare const kColorSyncRenderingIntentPerceptual: interop.Object;

declare const kColorSyncSigViewingConditionsTag: interop.Object;

declare const kColorSyncConversionParamCurve4: interop.Object;

declare const kColorSyncGenericRGBProfile: interop.Object;

declare const kColorSyncConversionBPC: interop.Object;

declare const kColorSyncProfileMD5Digest: interop.Object;

declare const kColorSyncSigAToB1Tag: interop.Object;

declare const kColorSyncSigRgbData: interop.Object;

declare const kColorSyncSigPreview1Tag: interop.Object;

declare const kColorSyncWebSafeColorsProfile: interop.Object;

declare const kColorSyncSigDeviceModelDescTag: interop.Object;

declare const kColorSyncSigBToA2Tag: interop.Object;

declare const kColorSyncAlphaInfoMask: number;

declare const kColorSyncFixedPointRange: interop.Object;

declare const kColorSyncRenderingIntentRelative: interop.Object;

declare const kColorSyncSigGrayTRCTag: interop.Object;

declare const kColorSyncTransformGamutCheck: interop.Object;

declare const kColorSyncSigColorSpaceClass: interop.Object;

declare const kColorSyncByteOrder32Big: number;

declare const kColorSyncGenericLabProfile: interop.Object;

declare const kColorSyncHLGDerivative: interop.Object;

declare const kColorSyncSigProfileDescriptionTag: interop.Object;

declare const ColorSyncAlphaInfo: {
  None: 0,
  PremultipliedLast: 1,
  PremultipliedFirst: 2,
  Last: 3,
  First: 4,
  NoneSkipLast: 5,
  NoneSkipFirst: 6,
};

declare const ColorSyncDataDepth: {
  Sync1BitGamut: 1,
  Sync8BitInteger: 2,
  Sync16BitInteger: 3,
  Sync16BitFloat: 4,
  Sync32BitInteger: 5,
  Sync32BitNamedColorIndex: 6,
  Sync32BitFloat: 7,
  Sync10BitInteger: 8,
};

declare class ColorSyncTransform {
  constructor(init?: ColorSyncTransform);
}

declare class ColorSyncMD5 {
  constructor(init?: ColorSyncMD5);
  digest: unknown /* const array */;
}

declare function ColorSyncProfileGetTypeID(): number;

declare function ColorSyncProfileCreate(data: interop.Object, error: interop.PointerConvertible): interop.Object;

declare function ColorSyncProfileCreateWithURL(url: interop.Object, error: interop.PointerConvertible): interop.Object;

declare function ColorSyncProfileCreateWithURLAndOptions(url: interop.Object, options: interop.Object, error: interop.PointerConvertible): interop.Object;

declare function ColorSyncProfileCreateWithName(name: interop.Object): interop.Object;

declare function ColorSyncProfileCreateMutable(): interop.Object;

declare function ColorSyncProfileCreateMutableCopy(prof: interop.Object): interop.Object;

declare function ColorSyncProfileCreateLink(profileInfo: interop.Object, options: interop.Object): interop.Object;

declare function ColorSyncProfileVerify(prof: interop.Object, errors: interop.PointerConvertible, warnings: interop.PointerConvertible): boolean;

declare function ColorSyncProfileIsWideGamut(p1: interop.Object): boolean;

declare function ColorSyncProfileIsMatrixBased(p1: interop.Object): boolean;

declare function ColorSyncProfileIsPQBased(p1: interop.Object): boolean;

declare function ColorSyncProfileIsHLGBased(p1: interop.Object): boolean;

declare function ColorSyncProfileEstimateGamma(prof: interop.Object, error: interop.PointerConvertible): number;

declare function ColorSyncProfileGetMD5(prof: interop.Object): ColorSyncMD5;

declare function ColorSyncProfileCopyData(prof: interop.Object, error: interop.PointerConvertible): interop.Object;

declare function ColorSyncProfileGetURL(prof: interop.Object, error: interop.PointerConvertible): interop.Object;

declare function ColorSyncProfileCopyHeader(prof: interop.Object): interop.Object;

declare function ColorSyncProfileSetHeader(prof: interop.Object, header: interop.Object): void;

declare function ColorSyncProfileCopyDescriptionString(prof: interop.Object): interop.Object;

declare function ColorSyncProfileCopyTagSignatures(prof: interop.Object): interop.Object;

declare function ColorSyncProfileContainsTag(prof: interop.Object, signature: interop.Object): boolean;

declare function ColorSyncProfileCopyTag(prof: interop.Object, signature: interop.Object): interop.Object;

declare function ColorSyncProfileSetTag(prof: interop.Object, signature: interop.Object, data: interop.Object): void;

declare function ColorSyncProfileRemoveTag(prof: interop.Object, signature: interop.Object): void;

declare function ColorSyncIterateInstalledProfiles(callBack: (p1: interop.PointerConvertible, p2: interop.PointerConvertible) => boolean, seed: interop.PointerConvertible, userInfo: interop.PointerConvertible, error: interop.PointerConvertible): void;

declare function ColorSyncTransformGetTypeID(): number;

declare function ColorSyncTransformCreate(profileSequence: interop.Object, options: interop.Object): interop.Object;

declare function ColorSyncTransformCopyProperty(transform: interop.Object, key: interop.Object, options: interop.Object): interop.Object;

declare function ColorSyncTransformSetProperty(transform: interop.Object, key: interop.Object, property: interop.Object): void;

declare function ColorSyncTransformGetProfileSequence(transform: interop.Object): interop.Object;

declare function ColorSyncTransformConvert(transform: interop.Object, width: number, height: number, dst: interop.PointerConvertible, dstDepth: interop.Enum<typeof ColorSyncDataDepth>, dstLayout: number, dstBytesPerRow: number, src: interop.PointerConvertible, srcDepth: interop.Enum<typeof ColorSyncDataDepth>, srcLayout: number, srcBytesPerRow: number, options: interop.Object): boolean;

declare function ColorSyncCreateCodeFragment(profileSequence: interop.Object, options: interop.Object): interop.Object;

declare function ColorSyncAPIVersion(): number;

