import type { NobjcObject } from "objc-js";
import type { _NSCopying } from "../Foundation/NSCopying.js";
import type { _NSObject } from "../Foundation/NSObject.js";
import type { _NSSecureCoding } from "../Foundation/NSSecureCoding.js";
import type { _NSString } from "../Foundation/NSString.js";
export declare class _CIColor extends _NSObject {
    static alloc(): _CIColor;
    static new(): _CIColor;
    init(): _CIColor;
    /**
     * Create a Core Image color object with a Core Graphics color object. - Returns: An autoreleased ``CIColor`` instance.
     */
    static colorWithCGColor$(color: Uint8Array): _CIColor;
    /**
     * Create a Core Image color object in the sRGB color space with the specified red, green, blue, and alpha component values. On macOS before 10.10, the CIColor's color space will be Generic RGB. - Parameters: - red: The color's unpremultiplied red component value between 0 and 1. - green: The color's unpremultiplied green component value between 0 and 1. - blue: The color's unpremultiplied blue component value between 0 and 1. - alpha: The color's alpha (opacity) value between 0 and 1. - Returns: An autoreleased ``CIColor`` instance.
     */
    static colorWithRed$green$blue$alpha$(red: number, green: number, blue: number, alpha: number): _CIColor;
    /**
     * Create a Core Image color object in the sRGB color space with the specified red, green, and blue component values. On macOS before 10.10, the CIColor's color space will be Generic RGB. - Parameters: - red: The color's unpremultiplied red component value between 0 and 1. - green: The color's unpremultiplied green component value between 0 and 1. - blue: The color's unpremultiplied blue component value between 0 and 1. - Returns: An autoreleased ``CIColor`` instance.
     */
    static colorWithRed$green$blue$(red: number, green: number, blue: number): _CIColor;
    /**
     * Create a Core Image color object with the specified red, green, blue, and alpha component values as measured in the specified color space. This will return `null` if the `CGColorSpace` is not `kCGColorSpaceModelRGB`. The RGB values can be outside the `0...1` range if the `CGColorSpace` is unclamped. - Parameters: - red: The color's unpremultiplied red component value. - green: The color's unpremultiplied green component value. - blue: The color's unpremultiplied blue component value. - alpha: The color's alpha (opacity) value between 0 and 1. - colorSpace: The color's `CGColorSpace` which must have `kCGColorSpaceModelRGB`. - Returns: An autoreleased ``CIColor`` instance.
     */
    static colorWithRed$green$blue$alpha$colorSpace$(red: number, green: number, blue: number, alpha: number, colorSpace: Uint8Array): _CIColor | null;
    /**
     * Create a Core Image color object with the specified red, green, and blue component values as measured in the specified color space. This will return `null` if the `CGColorSpace` is not `kCGColorSpaceModelRGB`. The RGB values can be outside the `0...1` range if the `CGColorSpace` is unclamped. - Parameters: - red: The color's unpremultiplied red component value. - green: The color's unpremultiplied green component value. - blue: The color's unpremultiplied blue component value. - colorSpace: The color's `CGColorSpace` which must have `kCGColorSpaceModelRGB`. - Returns: An autoreleased ``CIColor`` instance.
     */
    static colorWithRed$green$blue$colorSpace$(red: number, green: number, blue: number, colorSpace: Uint8Array): _CIColor | null;
    /**
     * Create a Core Image color object in the sRGB color space using a string containing the RGBA color component values. On macOS before 10.10, the CIColor's color space will be Generic RGB. - Parameters: - representation: A string that contains color and alpha float values. For example, the string: `"0.5 0.7 0.3 1.0"` indicates an RGB color whose components are 50% red, 70% green, 30% blue, and 100% opaque. If the string contains only 3 float values, the alpha component will be `1.0` If the string contains no float values, then ``/CIColor/clearColor`` will be returned. - Returns: An autoreleased ``CIColor`` instance.
     */
    static colorWithString$(representation: _NSString): _CIColor;
    /**
     * Returns a singleton Core Image color instance in the sRGB color space with RGB values `0,0,0` and alpha value `1`.
     */
    static blackColor(): _CIColor;
    /**
     * Returns a singleton Core Image color instance in the sRGB color space with RGB values `1,1,1` and alpha value `1`.
     */
    static whiteColor(): _CIColor;
    /**
     * Returns a singleton Core Image color instance in the sRGB color space with RGB values `0.5,0.5,0.5` and alpha value `1`.
     */
    static grayColor(): _CIColor;
    /**
     * Returns a singleton Core Image color instance in the sRGB color space with RGB values `1,0,0` and alpha value `1`.
     */
    static redColor(): _CIColor;
    /**
     * Returns a singleton Core Image color instance in the sRGB color space with RGB values `0,1,0` and alpha value `1`.
     */
    static greenColor(): _CIColor;
    /**
     * Returns a singleton Core Image color instance in the sRGB color space with RGB values `0,0,1` and alpha value `1`.
     */
    static blueColor(): _CIColor;
    /**
     * Returns a singleton Core Image color instance in the sRGB color space with RGB values `0,1,1` and alpha value `1`.
     */
    static cyanColor(): _CIColor;
    /**
     * Returns a singleton Core Image color instance in the sRGB color space with RGB values `1,0,1` and alpha value `1`.
     */
    static magentaColor(): _CIColor;
    /**
     * Returns a singleton Core Image color instance in the sRGB color space with RGB values `1,1,0` and alpha value `1`.
     */
    static yellowColor(): _CIColor;
    /**
     * Returns a singleton Core Image color instance in the sRGB color space with RGB values `0,0,0` and alpha value `0`.
     */
    static clearColor(): _CIColor;
    /**
     * Create a Core Image color object with a Core Graphics color object. - Returns: An initialized ``CIColor`` instance.
     */
    initWithCGColor$(color: Uint8Array): _CIColor;
    /**
     * Initialize a Core Image color object in the sRGB color space with the specified red, green, blue, and alpha component values. On macOS before 10.10, the CIColor's color space will be Generic RGB. - Parameters: - red: The color's unpremultiplied red component value between 0 and 1. - green: The color's unpremultiplied green component value between 0 and 1. - blue: The color's unpremultiplied blue component value between 0 and 1. - alpha: The color's alpha (opacity) value between 0 and 1. - Returns: An initialized ``CIColor`` instance.
     */
    initWithRed$green$blue$alpha$(red: number, green: number, blue: number, alpha: number): _CIColor;
    /**
     * Initialize a Core Image color object in the sRGB color space with the specified red, green, and blue component values. On macOS before 10.10, the CIColor's color space will be Generic RGB. - Parameters: - red: The color's unpremultiplied red component value between 0 and 1. - green: The color's unpremultiplied green component value between 0 and 1. - blue: The color's unpremultiplied blue component value between 0 and 1. - Returns: An initialized ``CIColor`` instance.
     */
    initWithRed$green$blue$(red: number, green: number, blue: number): _CIColor;
    /**
     * Initialize a Core Image color object with the specified red, green, and blue component values as measured in the specified color space. This will return null if the `CGColorSpace` is not `kCGColorSpaceModelRGB`. The RGB values can be outside the `0...1` range if the `CGColorSpace` is unclamped. - Parameters: - red: The color's unpremultiplied red component value. - green: The color's unpremultiplied green component value. - blue: The color's unpremultiplied blue component value. - alpha: The color's alpha (opacity) value between 0 and 1. - colorSpace: The color's `CGColorSpace` which must have `kCGColorSpaceModelRGB`. - Returns: An initialized ``CIColor`` instance.
     */
    initWithRed$green$blue$alpha$colorSpace$(red: number, green: number, blue: number, alpha: number, colorSpace: Uint8Array): _CIColor | null;
    /**
     * Initialize a Core Image color object with the specified red, green, and blue component values as measured in the specified color space. This will return null if the `CGColorSpace` is not `kCGColorSpaceModelRGB`. The RGB values can be outside the `0...1` range if the `CGColorSpace` is unclamped. - Parameters: - red: The color's unpremultiplied red component value. - green: The color's unpremultiplied green component value. - blue: The color's unpremultiplied blue component value. - colorSpace: The color's `CGColorSpace` which must have `kCGColorSpaceModelRGB`. - Returns: An initialized ``CIColor`` instance.
     */
    initWithRed$green$blue$colorSpace$(red: number, green: number, blue: number, colorSpace: Uint8Array): _CIColor | null;
    /**
     * Returns the color components of the color including alpha. This number includes the alpha component if the color contains one. Typically this number will be `4` for red, green, blue, and alpha. If the ``CIColor`` was initialized with a `CGColor` then the number will be the same as calling `CGColorGetNumberOfComponents()`
     */
    numberOfComponents(): number;
    /**
     * Return a pointer to an array of `CGFloat` values including alpha. Typically this array will contain `4` `CGFloat` values for red, green, blue, and alpha. If the ``CIColor`` was initialized with a `CGColor` then returned pointer will be the same as calling `CGColorGetComponents()`
     */
    components(): NobjcObject;
    /** Returns the alpha value of the color. */
    alpha(): number;
    /** Returns the `CGColorSpace` associated with the color */
    colorSpace(): NobjcObject;
    /**
     * Returns the unpremultiplied red component of the color. If the ``CIColor`` was initialized with a `CGColor` in a non-RGB `CGColorSpace` then it will be converted to sRGB to get the red component.
     */
    red(): number;
    /**
     * Returns the unpremultiplied green component of the color. If the ``CIColor`` was initialized with a `CGColor` in a non-RGB `CGColorSpace` then it will be converted to sRGB to get the green component.
     */
    green(): number;
    /**
     * Returns the unpremultiplied blue component of the color. If the ``CIColor`` was initialized with a `CGColor` in a non-RGB `CGColorSpace` then it will be converted to sRGB to get the green component.
     */
    blue(): number;
    /**
     * Returns a formatted string with the unpremultiplied color and alpha components of the color. The string representation always has four components: red, green, blue, and alpha. Some example string representations of colors: `CIColor` | `stringRepresentation` ----------------------------------------------- | -------------- `[CIColor colorWithRed:0.2 green:0.4 blue:0.6]` | `"0.2 0.4 0.6 1.0"` ``/CIColor/yellowColor`` | `"1.0 1.0 0.0 1.0"` To create a ``CIColor`` instance from a string representation, use the ``colorWithString:`` method. If the ``CIColor`` was initialized with a `CGColor` in a non-RGB `CGColorSpace` then it will be converted to sRGB to get the red, green, and blue components. This property is not KVO-safe because it returns a new `NSString` instance each time. The value of the `NSString` will be the same each time it is called.
     */
    stringRepresentation(): _NSString;
}
export interface _CIColor extends _NSSecureCoding, _NSCopying {
}
