import { EditorAPI } from '../types/CommonTypes'; import { Color, RGBColor } from '../types/ColorStyleTypes'; /** * The ColorConversionController is responsible for all communication regarding color coversion. * Methods inside this controller can be called by `window.SDK.colorConversion.{method-name}` */ export declare class ColorConversionController { #private; /** * @ignore */ constructor(editorAPI: EditorAPI); /** * This method converts the given color to its rgb representation * @param color the color to convert * @returns the rgb representation of the given color */ convertToRgb: (color: Color) => Promise>; }