import { ColorInput } from '../types/index.js'; import { IDMLGraphicContext } from './Graphic.js'; type ColorModel = 'process' | 'spot' | 'registration' | 'mixedInk'; type ColorSpace = 'rgb' | 'cmyk' | 'lab' | 'gray'; export declare class Color { id: string; private model; private space; private value; private context; private name?; private editable; private removable; private visible; private swatchCreatorId?; private swatchGroupReference?; constructor(id: string, model: ColorModel, space: ColorSpace, value: number[], options: { name?: string; editable?: boolean; removable?: boolean; visible?: boolean; swatchCreatorId?: string; swatchGroupReference?: string; }, context: IDMLGraphicContext); static parseElement(element: Element, context: IDMLGraphicContext): Color; equals(color: ColorInput): boolean; getCSSColor(): string; getRBG(): { red: number; green: number; blue: number; }; serialize(): import("../util/xml.js").ElementNode; toColorInput(): ColorInput; static cmykToRgb(cyan: number, magenta: number, yellow: number, black: number): { red: number; green: number; blue: number; }; static colorInputToCSSColor(color: ColorInput): string; } export {}; //# sourceMappingURL=Color.d.ts.map