import { Color as ThreeColor } from 'three'; import { Color } from '@shapediver/viewer.shared.types'; export declare class SDColor extends ThreeColor { private _colorSpace; private _originalColorSpace; constructor(hexColor: string, originalColor: Color); /** * Depending on the current state and provided value, this function converts the color to a different color space. * * If the color is in 'srgb' space and active is set to true, it will be converted to 'srgb-linear' space. * If the color is in 'srgb-linear' space, the color is not originally in 'srgb-linear' and active is set to false, it will be converted to 'srgb' space. * * @param active */ colorCorrection(active: boolean): void; } //# sourceMappingURL=SDColor.d.ts.map