/** * Handle Personalization colors (and personalization related things) */ declare class IdsPersonalization { #private; /** Holds the personalization color */ state: { color: string; useColorProgression: boolean; }; /** Color name to hex value mapping */ private colorMap; /** * Set the primary color and update the UI * @param {string} value the primary color */ set color(value: string); /** * Get the current primary color * @returns {string} The current primary color hex value */ get color(): string; /** * Get all available color names * @returns {string[]} Array of available color names */ get colorNames(): string[]; /** * Map a legacy Soho color or newer color name to the corresponding hex value. * @param {string} name the primary color name */ set colorName(name: string); /** * Enable old method of color progression * @param {boolean} value whether to use color progression */ set useColorProgression(value: boolean); /** * Determine if using the old method of color progression * @returns {boolean} true if using color progression */ get useColorProgression(): boolean; /** * Calculate color progression based on a single color * @param {string} color the primary color * @returns {Record} Object containing color progression values */ colorProgression(color: string): { primary: string; primary10: string; primary20: string; primary40: string; primary30: string; primary50: string; primary60: string; primary70: string; primary80: string; primary90: string; primary100: string; contrast: string; }; /** Remove the personalization stylesheet and set to default color */ resetToDefault(): void; } export default IdsPersonalization;