import { ColorSpace } from "../ConfigurationTypes"; export declare namespace IColorPickerConfigParsed { const injectName = "$cc.IColorPickerConfigParsed"; } export interface IColorPickerConfigParsed { showPaletteOnly: boolean; defaultColorSpace: ColorSpace.ColorSpaceType; availableColorSpaces: ColorSpace.ColorSpaceType[]; palette?: string[][]; sections: IColorPickerConfigSection[]; sectionCollapseEnabled: boolean; } export declare enum SectionType { PaletteSection = "PaletteSection", RecentSection = "RecentSection", ThemeSection = "ThemeSection", NoColorSection = "NoColorSection" } export declare enum ColorPickerTarget { Background = "Background", Fill = "Fill", Border = "Border", Text = "Text", RichText = "RichText", Shadow = "Shadow", Stroke = "Stroke", Line = "Line", All = "All" } export interface IColorPickerConfigSection { translationKey: string; viewType: ColorPickerSectionViewType; type: SectionType; targets: ColorPickerTarget[]; } export interface IPaletteSection extends IColorPickerConfigSection { type: SectionType; palette: string[][]; } export interface IRecentSection extends IColorPickerConfigSection { type: SectionType.RecentSection; } export interface IThemeSection extends IColorPickerConfigSection { type: SectionType.ThemeSection; } export interface INoColorSection extends IColorPickerConfigSection { type: SectionType.NoColorSection; } export declare enum ColorPickerSectionViewType { Block = "Block", Line = "Line" }