import React from 'react'; import { Component } from 'intergalactic/core'; type RootAsProps = { defaultColors?: string[]; colors?: string[]; onColorsChange?: (value: string, event: React.ChangeEvent) => void; styles?: React.CSSProperties; Children: React.FC; getI18nText: (messageId: string, values?: { [key: string]: string | number; }) => string; }; type State = { focus: boolean; }; declare const enhance: readonly [(props: any) => { getI18nText: (messageId: string, variables?: { [key: string]: string | number | undefined; } | undefined) => string; }, (props: any) => { uid: string; }]; declare class PaletteManagerRoot extends Component { static displayName: string; static style: { [key: string]: string; }; static enhance: readonly [(props: any) => { getI18nText: (messageId: string, variables?: { [key: string]: string | number | undefined; } | undefined) => string; }, (props: any) => { uid: string; }]; static defaultProps: { defaultColors: never[]; i18n: { de: { currentColor: string; emptyColor: string; palette: string; presetColors: string; customColors: string; addColor: string; clearColor: string; colorField: string; colorFieldConfirm: string; colorFieldClear: string; deleteColorDescriber: string; }; en: { currentColor: string; emptyColor: string; palette: string; presetColors: string; customColors: string; addColor: string; clearColor: string; colorField: string; colorFieldConfirm: string; colorFieldClear: string; deleteColorDescriber: string; }; es: { currentColor: string; emptyColor: string; palette: string; presetColors: string; customColors: string; addColor: string; clearColor: string; colorField: string; colorFieldConfirm: string; colorFieldClear: string; deleteColorDescriber: string; }; fr: { currentColor: string; emptyColor: string; palette: string; presetColors: string; customColors: string; addColor: string; clearColor: string; colorField: string; colorFieldConfirm: string; colorFieldClear: string; deleteColorDescriber: string; }; it: { currentColor: string; emptyColor: string; palette: string; presetColors: string; customColors: string; addColor: string; clearColor: string; colorField: string; colorFieldConfirm: string; colorFieldClear: string; deleteColorDescriber: string; }; ja: { currentColor: string; emptyColor: string; palette: string; presetColors: string; customColors: string; addColor: string; clearColor: string; colorField: string; colorFieldConfirm: string; colorFieldClear: string; deleteColorDescriber: string; }; ko: { currentColor: string; emptyColor: string; palette: string; presetColors: string; customColors: string; addColor: string; clearColor: string; colorField: string; colorFieldConfirm: string; colorFieldClear: string; deleteColorDescriber: string; }; nl: { currentColor: string; emptyColor: string; palette: string; presetColors: string; customColors: string; addColor: string; clearColor: string; colorField: string; colorFieldConfirm: string; colorFieldClear: string; deleteColorDescriber: string; }; pt: { currentColor: string; emptyColor: string; palette: string; presetColors: string; customColors: string; addColor: string; clearColor: string; colorField: string; colorFieldConfirm: string; colorFieldClear: string; deleteColorDescriber: string; }; tr: { currentColor: string; emptyColor: string; palette: string; presetColors: string; customColors: string; addColor: string; clearColor: string; colorField: string; colorFieldConfirm: string; colorFieldClear: string; deleteColorDescriber: string; }; vi: { currentColor: string; emptyColor: string; palette: string; presetColors: string; customColors: string; addColor: string; clearColor: string; colorField: string; colorFieldConfirm: string; colorFieldClear: string; deleteColorDescriber: string; }; zh: { currentColor: string; emptyColor: string; palette: string; presetColors: string; customColors: string; addColor: string; clearColor: string; colorField: string; colorFieldConfirm: string; colorFieldClear: string; deleteColorDescriber: string; }; pl: { currentColor: string; emptyColor: string; palette: string; presetColors: string; customColors: string; addColor: string; clearColor: string; colorField: string; colorFieldConfirm: string; colorFieldClear: string; deleteColorDescriber: string; }; sv: { currentColor: string; emptyColor: string; palette: string; presetColors: string; customColors: string; addColor: string; clearColor: string; colorField: string; colorFieldConfirm: string; colorFieldClear: string; deleteColorDescriber: string; }; }; locale: string; }; refInput: React.RefObject; state: State; uncontrolledProps(): { colors: never[]; }; bindHandlerItemRemove: (value: string) => (event: React.MouseEvent) => void; bindHandlerItemAdd: () => (value: string, event: React.MouseEvent) => void; bindHandlerButtonClick: () => () => void; getColorsProps(): { colors: string[] | undefined; editable: boolean; onPlusButtonClick: () => void; getI18nText: ((messageId: string, values?: { [key: string]: string | number; } | undefined) => string) & ((messageId: string, variables?: { [key: string]: string | number | undefined; } | undefined) => string); }; getItemProps({ value }: any): { uid: string; editable: boolean; onRemove: (event: React.MouseEvent) => void; getI18nText: ((messageId: string, values?: { [key: string]: string | number; } | undefined) => string) & ((messageId: string, variables?: { [key: string]: string | number | undefined; } | undefined) => string); }; onFocus: () => void; onBlur: () => void; getInputColorProps(): { ref: React.RefObject; onAdd: (value: string, event: React.MouseEvent) => void; focus: boolean; onFocus: () => void; onBlur: () => void; getI18nText: ((messageId: string, values?: { [key: string]: string | number; } | undefined) => string) & ((messageId: string, variables?: { [key: string]: string | number | undefined; } | undefined) => string); }; render(this: any): React.ReactNode; } export default PaletteManagerRoot;