import type { NobjcObject } from "objc-js";
import type { _NSArray } from "../Foundation/NSArray.js";
import type { _NSCopying } from "../Foundation/NSCopying.js";
import type { _NSData } from "../Foundation/NSData.js";
import type { _NSDictionary } from "../Foundation/NSDictionary.js";
import type { _NSObject } from "../Foundation/NSObject.js";
import type { _NSSecureCoding } from "../Foundation/NSSecureCoding.js";
import type { _NSString } from "../Foundation/NSString.js";
import type { _NSURL } from "../Foundation/NSURL.js";
import type { _MTLTexture } from "../Metal/MTLTexture.js";
import type { _CIColor } from "./CIColor.js";
import type { _CIFilterShape } from "./CIFilterShape.js";
import type { _AVDepthData } from "../AVFoundation/AVDepthData.js";
import type { _AVPortraitEffectsMatte } from "../AVFoundation/AVPortraitEffectsMatte.js";
import type { _AVSemanticSegmentationMatte } from "../AVFoundation/AVSemanticSegmentationMatte.js";
import type { CGAffineTransform } from "../structs/CGAffineTransform.js";
import type { CGRect } from "../structs/CGRect.js";
import type { CGSize } from "../structs/CGSize.js";
export declare class _CIImage extends _NSObject {
    static alloc(): _CIImage;
    static new(): _CIImage;
    init(): _CIImage;
    /** Creates a new image from the contents of 'image'. */
    static imageWithCGImage$(image: Uint8Array): _CIImage;
    static imageWithCGImage$options$(image: Uint8Array, options: _NSDictionary | null): _CIImage;
    /**
     * Creates a new image from the contents of 'source'.
     * @deprecated
     */
    static imageWithCGImageSource$index$options$(source: NobjcObject, index: number, dict: _NSDictionary | null): _CIImage;
    /**
     * Creates a new image from the contents of 'layer'.
     * @deprecated
     */
    static imageWithCGLayer$(layer: Uint8Array): _CIImage;
    /** @deprecated */
    static imageWithCGLayer$options$(layer: Uint8Array, options: _NSDictionary | null): _CIImage;
    /**
     * Creates a new image whose bitmap data is from 'data'. Each row contains 'bytesPerRow' bytes. The dimensions of the image are defined by 'size'. 'format' defines the format and size of each pixel. 'colorSpace' defines the color space that the image is defined in, if nil, the image is not color matched.
     */
    static imageWithBitmapData$bytesPerRow$size$format$colorSpace$(data: _NSData, bytesPerRow: number, size: CGSize, format: number, colorSpace: Uint8Array | null): _CIImage;
    /**
     * Creates a new image referencing the contents of the GL texture object with identifier 'name'. The texture should have dimensions as defined by 'size'. If 'flipped' is true, then the contents of the texture are flipped vertically when referenced. 'colorSpace' defines the color space that the image is defined in, if nil, the texture is not color matched.
     */
    static imageWithTexture$size$flipped$colorSpace$(name: number, size: CGSize, flipped: boolean, colorSpace: Uint8Array | null): _CIImage;
    /**
     * In the options dictionary you can specify the following: - kCIImageColorSpace which should be a CGColorSpaceRef or [NSNull null] - kCIImageTextureTarget which should be a NSNumber with either GL_TEXTURE_2D or GL_TEXTURE_RECTANGLE_ARB. - kCIImageTextureFormat which should be a NSNumber with a CIFormat value
     */
    static imageWithTexture$size$flipped$options$(name: number, size: CGSize, flipped: boolean, options: _NSDictionary | null): _CIImage;
    /**
     * Creates a new image referencing the contents of the Metal texture object. The texture type must be MTLTextureType2D and the texture format must be unsigned normalized or floating-point. When rendering a CIImage referencing this Metal texture, there should not be any uncommitted Metal comand buffers writing to the texture.
     */
    static imageWithMTLTexture$options$(texture: _MTLTexture, options: _NSDictionary | null): _CIImage | null;
    static imageWithContentsOfURL$(url: _NSURL): _CIImage | null;
    static imageWithContentsOfURL$options$(url: _NSURL, options: _NSDictionary | null): _CIImage | null;
    static imageWithData$(data: _NSData): _CIImage | null;
    static imageWithData$options$(data: _NSData, options: _NSDictionary | null): _CIImage | null;
    /** Creates a new image whose data is from the contents of a CVImageBuffer. */
    static imageWithCVImageBuffer$(imageBuffer: NobjcObject): _CIImage;
    static imageWithCVImageBuffer$options$(imageBuffer: NobjcObject, options: _NSDictionary | null): _CIImage;
    /** Creates a new image whose data is from the contents of a CVPixelBufferRef. */
    static imageWithCVPixelBuffer$(pixelBuffer: NobjcObject): _CIImage;
    static imageWithCVPixelBuffer$options$(pixelBuffer: NobjcObject, options: _NSDictionary | null): _CIImage;
    /** Creates a new image from the contents of an IOSurface. */
    static imageWithIOSurface$(surface: Uint8Array): _CIImage;
    static imageWithIOSurface$options$(surface: Uint8Array, options: _NSDictionary | null): _CIImage;
    /** Return or initialize a new image with an infinite amount of the color 'color'. */
    static imageWithColor$(color: _CIColor): _CIImage;
    /** Create an empty Image. */
    static emptyImage(): _CIImage;
    static imageWithDepthData$options$(data: _AVDepthData, options: _NSDictionary | null): _CIImage | null;
    static imageWithDepthData$(data: _AVDepthData): _CIImage | null;
    static imageWithPortaitEffectsMatte$options$(matte: _AVPortraitEffectsMatte, options: _NSDictionary | null): _CIImage | null;
    static imageWithPortaitEffectsMatte$(matte: _AVPortraitEffectsMatte): _CIImage | null;
    static imageWithSemanticSegmentationMatte$options$(matte: _AVSemanticSegmentationMatte, options: _NSDictionary | null): _CIImage | null;
    static imageWithSemanticSegmentationMatte$(matte: _AVSemanticSegmentationMatte): _CIImage | null;
    /**
     * Create an image object based on pixels from an image provider object. Core Image retains the provider object until the image is deallocated. The image provider object will not be called until the image is rendered. - Parameters: - provider: An object that implements the `CIImageProvider` protocol. - width: The width of the image. - height: The height of the image. - format: The ``CIFormat`` of the provided pixels. - colorSpace: The color space that the image is defined in. If `nil`, then the pixels will not be is not color matched to the Core Image working color space. - options: A dictionary that contains various ``CIImageOption`` keys that affect the resulting ``CIImage``. The option ``kCIImageProviderTileSize`` controls if and how the provider object is called in tiles. The option ``kCIImageProviderUserInfo`` allows additional state to be passed to the provider object. - Returns: An autoreleased ``CIImage`` object based on the data provider.
     */
    static imageWithImageProvider$size$$format$colorSpace$options$(provider: NobjcObject, width: number, height: number, format: number, colorSpace: Uint8Array | null, options: _NSDictionary | null): _CIImage;
    /** Convenience constant color CIImages in the sRGB colorspace. */
    static blackImage(): _CIImage;
    static whiteImage(): _CIImage;
    static grayImage(): _CIImage;
    static redImage(): _CIImage;
    static greenImage(): _CIImage;
    static blueImage(): _CIImage;
    static cyanImage(): _CIImage;
    static magentaImage(): _CIImage;
    static yellowImage(): _CIImage;
    static clearImage(): _CIImage;
    /** Initializers. */
    initWithCGImage$(image: Uint8Array): _CIImage;
    initWithCGImage$options$(image: Uint8Array, options: _NSDictionary | null): _CIImage;
    /** @deprecated */
    initWithCGImageSource$index$options$(source: NobjcObject, index: number, dict: _NSDictionary | null): _CIImage;
    /** @deprecated */
    initWithCGLayer$(layer: Uint8Array): _CIImage;
    /** @deprecated */
    initWithCGLayer$options$(layer: Uint8Array, options: _NSDictionary | null): _CIImage;
    initWithData$(data: _NSData): _CIImage | null;
    initWithData$options$(data: _NSData, options: _NSDictionary | null): _CIImage | null;
    initWithBitmapData$bytesPerRow$size$format$colorSpace$(data: _NSData, bytesPerRow: number, size: CGSize, format: number, colorSpace: Uint8Array | null): _CIImage;
    initWithTexture$size$flipped$colorSpace$(name: number, size: CGSize, flipped: boolean, colorSpace: Uint8Array | null): _CIImage;
    initWithTexture$size$flipped$options$(name: number, size: CGSize, flipped: boolean, options: _NSDictionary | null): _CIImage;
    /** initWithMTLTexture will return nil if textureType is not MTLTextureType2D. */
    initWithMTLTexture$options$(texture: _MTLTexture, options: _NSDictionary | null): _CIImage | null;
    initWithContentsOfURL$(url: _NSURL): _CIImage | null;
    initWithContentsOfURL$options$(url: _NSURL, options: _NSDictionary | null): _CIImage | null;
    initWithIOSurface$(surface: Uint8Array): _CIImage;
    initWithIOSurface$options$(surface: Uint8Array, options: _NSDictionary | null): _CIImage;
    /** @deprecated */
    initWithIOSurface$plane$format$options$(surface: Uint8Array, plane: number, format: number, options: _NSDictionary | null): _CIImage;
    initWithCVImageBuffer$(imageBuffer: NobjcObject): _CIImage;
    initWithCVImageBuffer$options$(imageBuffer: NobjcObject, options: _NSDictionary | null): _CIImage;
    initWithCVPixelBuffer$(pixelBuffer: NobjcObject): _CIImage;
    initWithCVPixelBuffer$options$(pixelBuffer: NobjcObject, options: _NSDictionary | null): _CIImage;
    initWithColor$(color: _CIColor): _CIImage;
    /**
     * Returns a new image representing the original image with the transform 'matrix' appended to it.
     */
    imageByApplyingTransform$(matrix: CGAffineTransform): _CIImage;
    /**
     * specifying true or false here will override the context's kCIContextHighQualityDownsample setting.
     */
    imageByApplyingTransform$highQualityDownsample$(matrix: CGAffineTransform, highQualityDownsample: boolean): _CIImage;
    /**
     * Returns a new image representing the original image with a transform applied to it based on an orientation value. CGImagePropertyOrientation enum values from 1 to 8 as defined in the TIFF spec are supported. Returns original image if the image is of infinite extent.
     */
    imageByApplyingOrientation$(orientation: number): _CIImage;
    /**
     * Returns a CGAffineTransform for an orientation value that can be applied to an image. CGImagePropertyOrientation enum values from 1 to 8 as defined in the TIFF spec are supported. Returns CGAffineTransformIdentity if the image is of infinite extent.
     */
    imageTransformForOrientation$(orientation: number): CGAffineTransform;
    /**
     * Returns a new image representing the original image transformeded for the given CGImagePropertyOrientation
     */
    imageByApplyingCGOrientation$(orientation: NobjcObject): _CIImage;
    /**
     * Returns a CGAffineTransform for the CGImagePropertyOrientation value that can be applied to an image.
     */
    imageTransformForCGOrientation$(orientation: NobjcObject): CGAffineTransform;
    /**
     * Return a new image formed by compositing the receiver image over 'dest'. This is equivalent to the CISourceOverCompositing filter.
     */
    imageByCompositingOverImage$(dest: _CIImage): _CIImage;
    /** Return a new image cropped to a rectangle. */
    imageByCroppingToRect$(rect: CGRect): _CIImage;
    /**
     * Return a new infinite image by replicating the edge pixels of the receiver image.
     */
    imageByClampingToExtent(): _CIImage;
    /**
     * Return a new infinite image by replicating the edge pixels of a rectangle. This is equivalent to the CICrop filter.
     */
    imageByClampingToRect$(rect: CGRect): _CIImage;
    /**
     * A convenience method for applying a filter to an image. The method returns outputImage of the filter after setting the filter's inputImage to the method receiver and other parameters from the key/value pairs of 'params'.
     */
    imageByApplyingFilter$withInputParameters$(filterName: _NSString, params: _NSDictionary | null): _CIImage;
    /**
     * A convenience method for applying a filter to an image. The method returns outputImage of the filter after setting the filter's inputImage to the method receiver and any other parameters from the filter's defaults.
     */
    imageByApplyingFilter$(filterName: _NSString): _CIImage;
    /**
     * Return a new image by color matching from the colorSpace to the context's working space. This method will return nil if the CGColorSpace is not kCGColorSpaceModelRGB or Monochrome.
     */
    imageByColorMatchingColorSpaceToWorkingSpace$(colorSpace: Uint8Array): _CIImage | null;
    /**
     * Return a new image by color matching from the context's working space to the colorSpace. This method will return nil if the CGColorSpace is not kCGColorSpaceModelRGB or Monochrome.
     */
    imageByColorMatchingWorkingSpaceToColorSpace$(colorSpace: Uint8Array): _CIImage | null;
    /** Return a new image by multiplying the receiver's RGB values by its alpha. */
    imageByPremultiplyingAlpha(): _CIImage;
    /** Return a new image by dividing the receiver's RGB values by its alpha. */
    imageByUnpremultiplyingAlpha(): _CIImage;
    /** Return a new image with alpha set to 1 within the rectangle and 0 outside. */
    imageBySettingAlphaOneInExtent$(extent: CGRect): _CIImage;
    /**
     * Create an image by applying a gaussian blur to the receiver. - Parameters: - sigma: The sigma of the gaussian blur to apply to the receiver. If the sigma is very small (less than `0.16`) then the receiver is returned. - Returns: An autoreleased ``CIImage`` instance or the received image.
     */
    imageByApplyingGaussianBlurWithSigma$(sigma: number): _CIImage;
    /**
     * Return a new image by changing the receiver's metadata properties. When you create an image, Core Image sets an image’s properties to a metadata dictionary as described here: ``properties``. Use this method to override an image’s metadata properties with new values. - Parameters: - properties: A dictionary of metadata properties akin to the `CGImageSourceCopyPropertiesAtIndex()` function. - Returns: An autoreleased ``CIImage`` instance with a copy of the new properties.
     */
    imageBySettingProperties$(properties: _NSDictionary): _CIImage;
    /**
     * Create an image by changing the receiver's sample mode to bilinear interpolation. - Returns: An autoreleased ``CIImage`` instance with a bilinear sampling.
     */
    imageBySamplingLinear(): _CIImage;
    /**
     * Create an image by changing the receiver's sample mode to nearest neighbor. - Returns: An autoreleased ``CIImage`` instance with a nearest sampling.
     */
    imageBySamplingNearest(): _CIImage;
    /**
     * Create an image that inserts a intermediate that is cacheable This intermediate will be not be cached if ``kCIContextCacheIntermediates`` is false. - Returns: An autoreleased ``CIImage``.
     */
    imageByInsertingIntermediate(): _CIImage;
    /**
     * Create an image that inserts a intermediate that is cacheable. - Parameters: - cache: Controls if Core Image caches the returned image. * `YES` : This intermediate will be cacheable even if ``kCIContextCacheIntermediates`` is false. * `NO` : the intermediate will be not be cached if ``kCIContextCacheIntermediates`` is false. - Returns: An autoreleased ``CIImage``.
     */
    imageByInsertingIntermediate$(cache: boolean): _CIImage;
    /**
     * Create an image that inserts a intermediate that is cached in tiles This intermediate will be cacheable even if ``kCIContextCacheIntermediates`` is false. - Returns: An autoreleased ``CIImage``.
     */
    imageByInsertingTiledIntermediate(): _CIImage;
    /**
     * Create an image that applies a gain map Core Image image to the received Core Image image. The gain map image can be obtained by creating a ``CIImage`` instance from `NSURL`/`NSData` and setting the ``kCIImageAuxiliaryHDRGainMap`` option set to `@YES`. If the gain map ``CIImage`` instance doesn't have the needed ``properties`` metadata, the received image will be returned as-is. - Returns: An autoreleased ``CIImage`` instance or the received image.
     */
    imageByApplyingGainMap$(gainmap: _CIImage): _CIImage;
    /**
     * Create an image that applies a gain map Core Image image with a specified headroom to the received Core Image image. - Parameters: - gainmap: The gain map ``CIImage`` instance to apply to the receiver. - headroom: a float value that specify how much headroom the resulting image should have. The headroom value will be limited to between 1.0 (i.e. SDR) and the full headroom allowed by the gain map. - Returns: An autoreleased ``CIImage`` instance or the received image.
     */
    imageByApplyingGainMap$headroom$(gainmap: _CIImage, headroom: number): _CIImage;
    /**
     * Create an image by changing the receiver's contentHeadroom property. Changing this value will alter the behavior of the `CIToneMapHeadroom` and `CISystemToneMap` filters. * If the value is set to 0.0 then the returned image's headroom is unknown. * If the value is set to 1.0 then the returned image is SDR. * If the value is set to greater 1.0 then the returned image is HDR. * Otherwise the returned image's headroom is unknown. - Returns: An autoreleased ``CIImage``.
     */
    imageBySettingContentHeadroom$(headroom: number): _CIImage;
    /**
     * Create an image by changing the receiver's contentAverageLightLevel property. Changing this value will alter the behavior of the `CIToneMapHeadroom` and `CISystemToneMap` filters. * If the value is set to 0.0 or less then the returned image's ``contentAverageLightLevel`` is unknown. - Returns: An autoreleased ``CIImage``.
     */
    imageBySettingContentAverageLightLevel$(average: number): _CIImage;
    /**
     * Returns the rectangle of 'image' that is required to render the rectangle 'rect' of the receiver. This may return a null rect.
     */
    regionOfInterestForImage$inRect$(image: _CIImage, rect: CGRect): CGRect;
    /**
     * Return an array of filters to apply to an image to improve its skin tones, saturation, contrast, shadows and repair red-eyes or LED-eyes. The options dictionary can contain a CIDetectorImageOrientation key value. The value for this key is an integer NSNumber from 1..8 such as that found in kCGImagePropertyOrientation. If present, the adjustment will be done based on that orientation but any coordinates in the returned filters will still be based on those of the sender image.
     */
    autoAdjustmentFilters(): _NSArray;
    autoAdjustmentFiltersWithOptions$(options: _NSDictionary | null): _NSArray;
    /**
     * Converts the receiver from the Core Image RGB working space to La*b* space. The L channel in the range of 0...100 is stored in the the R channel of the resulting CIImage. The a*b* channels in the range of -128..128 are stored in the GB channels of the resulting CIImage. The A channel of the resulting CIImage is the same as the receiver's
     */
    imageByConvertingWorkingSpaceToLab(): _CIImage;
    /**
     * Converts an image from La*b* to the Core Image RGB working space. This is the inverse of imageByConvertingWorkingSpaceToLab.
     */
    imageByConvertingLabToWorkingSpace(): _CIImage;
    initWithDepthData$options$(data: _AVDepthData, options: _NSDictionary | null): _CIImage | null;
    initWithDepthData$(data: _AVDepthData): _CIImage | null;
    initWithPortaitEffectsMatte$options$(matte: _AVPortraitEffectsMatte, options: _NSDictionary | null): _CIImage | null;
    initWithPortaitEffectsMatte$(matte: _AVPortraitEffectsMatte): _CIImage | null;
    initWithSemanticSegmentationMatte$options$(matte: _AVSemanticSegmentationMatte, options: _NSDictionary | null): _CIImage | null;
    initWithSemanticSegmentationMatte$(matte: _AVSemanticSegmentationMatte): _CIImage | null;
    /**
     * Initializes an image object based on pixels from an image provider object. Core Image retains the provider object until the image is deallocated. The image provider object will not be called until the image is rendered. - Parameters: - provider: An object that implements the `CIImageProvider` protocol. - width: The width of the image. - height: The height of the image. - format: The ``CIFormat`` of the provided pixels. - colorSpace: The color space that the image is defined in. If `nil`, then the pixels will not be is not color matched to the Core Image working color space. - options: A dictionary that contains various ``CIImageOption`` keys that affect the resulting ``CIImage``. The option ``kCIImageProviderTileSize`` controls if and how the provider object is called in tiles. The option ``kCIImageProviderUserInfo`` allows additional state to be passed to the provider object. - Returns: An initialized ``CIImage`` object based on the data provider.
     */
    initWithImageProvider$size$$format$colorSpace$options$(provider: NobjcObject, width: number, height: number, format: number, colorSpace: Uint8Array | null, options: _NSDictionary | null): _CIImage;
    /**
     * Returns a rectangle the defines the bounds of non-(0,0,0,0) pixels in the image. > Note: the ``extent`` of `CIImage`` may be infinite or have a non-zero origin.
     */
    extent(): CGRect;
    /**
     * Returns YES if the image is known to have and alpha value of `1.0` over the entire image extent.
     */
    opaque(): boolean;
    /**
     * Returns the metadata properties dictionary of the image. If the ``CIImage`` was created from `NSURL` or `NSData` then this dictionary is determined by calling `CGImageSourceCopyPropertiesAtIndex()`. If the ``CIImage`` was created with the ``kCIImageProperties`` option, then that dictionary is returned. If the ``CIImage`` was created by applying ``CIFilter-class`` or ``CIKernel`` then the properties of the root inputImage will be returned.
     */
    properties(): _NSDictionary;
    /** Return the Domain of Definition of the image. */
    definition(): _CIFilterShape;
    /**
     * Returns the URL of the image when the image was created using the imageWithContentsOfURL APIs. This method will return nil, if the URL cannot be determined.
     */
    url(): _NSURL;
    /**
     * Returns the color space of the image. If this returns nil, the image should be assumed to be in the Core Image working colorspace. This method will return nil if image is the result of applying a CIFilter or CIKernel. There are exceptions to this. Applying CIWarpKernels or certain CIFilters (e.g. CIGaussianBlur, CILanczosScaleTransform, CIAreaAverage and some others) to an image will result in a CIImage with the same 'colorspace' property value.
     */
    colorSpace(): NobjcObject;
    /**
     * Returns the content headroom of the image. If the image headroom is unknown, then the value 0.0 will be returned. If the image headroom is known, then a value greater than or equal to 1.0 will be returned. A value of 1.0 will be returned if the image is SDR. A value greater than 1.0 will be returned if the image is HDR. The image headroom may known when a CIImage is first initialized. If the a CIImage is initialized using: * `NSURL` or `NSData` : the headroom may be determined by associated metadata or deduced from pixel format or colorSpace information. * `CGImage` : headroom may be determined by `CGImageGetHeadroomInfo()` or deduced from pixel format or colorSpace information. * `IOSurface` : then the headroom will be determined by `kIOSurfaceContentHeadroom`. or deduced from pixel format or colorSpace information. * `CVPixelBuffer` : then the headroom will be determined by `kCVImageBufferContentLightLevelInfoKey`. or deduced from pixel format or colorSpace information. * `BitmapData` : headroom may be deduced from pixel format or colorSpace information. If the image is the result of applying a ``CIFilter-class`` or ``CIKernel``, this method will return `0.0`. There are exceptions to this. Applying a `CIWarpKernel`` or certain ``CIFilter-class`` (e.g. `CIGaussianBlur`, `CILanczosScaleTransform`, `CIAreaAverage` and some others) to an image will result in a ``CIImage`` instance with the same `contentHeadroom` property value.
     */
    contentHeadroom(): number;
    /**
     * Returns the content average light level of the image. If the image average light level is unknown, then the value 0.0 will be returned. If the image headroom is known, then a value greater than or equal to 0.0 will be returned. The image average light level may known when a CIImage is first initialized. If the a CIImage is initialized with a: * `CGImage` : then the headroom will be determined by `CGImageGetContentAverageLightLevel()`. * `CVPixelBuffer` : then the headroom will be determined by `kCVImageBufferContentLightLevelInfoKey`. If the image is the result of applying a ``CIFilter-class`` or ``CIKernel``, this property will return `0.0`. There are exceptions to this. Applying a ``CIWarpKernel`` or certain ``CIFilter-class`` (e.g. `CIGaussianBlur`, `CILanczosScaleTransform`, `CIAreaAverage` and some others) to an image will result in a ``CIImage`` instance with the same `contentAverageLightLevel` property value.
     */
    contentAverageLightLevel(): number;
    /**
     * Returns a CVPixelBufferRef if the CIImage was created with [CIImage imageWithCVPixelBuffer] and no options. Otherwise this property will be nil and calling [CIContext render:toCVPixelBuffer:] is recommended. Modifying the contents of this pixelBuffer will cause the CIImage to render with undefined results.
     */
    pixelBuffer(): NobjcObject;
    /**
     * Returns a CGImageRef if the CIImage was created with [CIImage imageWithCGImage] or [CIImage imageWithContentsOfURL] and no options. Otherwise this property will be nil and calling [CIContext createCGImage:fromRect:] is recommended.
     */
    CGImage(): NobjcObject;
    /**
     * Returns a Metal Texture if the Core Image image was created with a texture. This will return non-nil if the image was created with ``/CIImage/imageWithMTLTexture:options:`` and no options. Otherwise this property will be `nil` you should instead call ``/CIContext/render:toMTLTexture:commandBuffer:bounds:colorSpace:``. > Warning: Modifying the contents of this texture will cause the ``CIImage`` instance to render with incorrect results.
     */
    metalTexture(): _MTLTexture;
    /**
     * Returns a AVDepthData if the CIImage was created with [CIImage imageWithData] or [CIImage imageWithContentsOfURL] and. one the options kCIImageAuxiliaryDepth or kCIImageAuxiliaryDisparity.
     */
    depthData(): _AVDepthData;
    /**
     * Returns a AVPortraitEffectsMatte if the CIImage was created with [CIImage imageWithData] or [CIImage imageWithContentsOfURL] and. one the options kCIImageAuxiliaryPortraitEffectsMatte.
     */
    portraitEffectsMatte(): _AVPortraitEffectsMatte;
    /**
     * Returns a AVSemanticSegmentationMatte if the CIImage was created with [CIImage imageWithData] or [CIImage imageWithContentsOfURL] and. one the options like kCIImageAuxiliarySemanticSegmentationSkinMatte.
     */
    semanticSegmentationMatte(): _AVSemanticSegmentationMatte;
}
export interface _CIImage extends _NSSecureCoding, _NSCopying {
}
