import type { Color2DAxes, Color3DAxes, ColorChannel, ColorChannelRange, ColorInputChannel, ColorInstance, ColorOutput, ColorSliderChannel, ColorSpace } from '@primereact/types/headless/inputcolor'; export declare const isEqual: (a: unknown, b: unknown) => boolean; declare abstract class Color { abstract clone(): ColorInstance; abstract toString(format: ColorOutput): string; abstract toFormat(format: ColorSpace): ColorInstance; abstract toJSON(): Record; abstract getChannelRange(channel: ColorChannel): ColorChannelRange; abstract getFormat(): ColorSpace; abstract getChannels(): [ColorChannel, ColorChannel, ColorChannel]; getChannelValue(channel: ColorChannel): number; withChannelValue(channel: ColorChannel, value: number): ColorInstance; getSpaceAxes(xyChannels: Color2DAxes): Color3DAxes; incChannelValue(channel: ColorChannel, step: number): ColorInstance; decChannelValue(channel: ColorChannel, step: number): ColorInstance; } export declare class HSBColor extends Color { private hue; private saturation; private brightness; private alpha; constructor(hue: number, saturation: number, brightness: number, alpha: number); static parse(value: string): HSBColor | undefined; private toRGB; private toHSL; toFormat(format: ColorSpace): ColorInstance; toString(format: ColorOutput): string; toJSON(): { hue: number; saturation: number; brightness: number; alpha: number; }; clone(): ColorInstance; getChannelRange(channel: ColorChannel): ColorChannelRange; getFormat(): ColorSpace; getChannels(): [ColorChannel, ColorChannel, ColorChannel]; } export declare class HSLColor extends Color { private hue; private saturation; private lightness; private alpha; constructor(hue: number, saturation: number, lightness: number, alpha: number); static parse(value: string): HSLColor | undefined; private toRGB; private toHSB; toFormat(format: ColorSpace): ColorInstance; toString(format: ColorOutput): string; toJSON(): Record; clone(): ColorInstance; getChannelRange(channel: ColorChannel): ColorChannelRange; getFormat(): ColorSpace; getChannels(): [ColorChannel, ColorChannel, ColorChannel]; } export declare class RGBColor extends Color { private red; private green; private blue; private alpha; constructor(red: number, green: number, blue: number, alpha: number); static parse(value: string): RGBColor | undefined; private static expandShortHex; private static parseHexColor; private static parseRgbFunction; private toHSB; private toHSL; private toOKLCH; toHexInt(): number; toFormat(format: ColorSpace): ColorInstance; toString(format: ColorOutput): string; toJSON(): Record; clone(): ColorInstance; getChannelRange(channel: ColorChannel): ColorChannelRange; getFormat(): ColorSpace; getChannels(): [ColorChannel, ColorChannel, ColorChannel]; } export declare class OKLCHColor extends Color { private L; private C; private H; private alpha; constructor(L: number, C: number, H: number, alpha: number); static parse(value: string): OKLCHColor | undefined; private toRGB; toJSON(): Record; clone(): ColorInstance; toFormat(format: ColorSpace): ColorInstance; toString(format: ColorOutput): string; getChannelRange(channel: ColorChannel): ColorChannelRange; getFormat(): ColorSpace; getChannels(): [ColorChannel, ColorChannel, ColorChannel]; } export declare const parseColor: (color: string) => ColorInstance; export declare function getChannelGradient(channel: ColorSliderChannel, value: ColorInstance, orientation: 'horizontal' | 'vertical', isRtl?: boolean): string; export declare function getChannelColor(color: ColorInstance, channel: ColorChannel): ColorInstance; export declare function getAreaGradient(color: ColorInstance, axes: Color2DAxes): { '--px-area-gradient': string; }; export declare function getInputChannelValue(color: ColorInstance, channel: ColorInputChannel, format?: ColorSpace): string; export declare function getInputChannelRange(color: ColorInstance, channel?: ColorInputChannel): ColorChannelRange | undefined; export {};