import { Component } from 'react'; import { IColorInputProps } from './ColorInputProps'; import { IColorsProps } from '../Colors/ColorsProps'; import { IMaskedInputProps } from '../MaskedInput/MaskedInputProps'; interface IColorInputState { selectedColor: string; } /** * A masked color entry field, with a drop button to select a color. * All properties of MaskedInput apply. */ declare class ColorInput extends Component & IColorsProps, IColorInputState> { static defaultProps: { size: string; mask: (string | RegExp)[]; }; upDateValue: any; constructor(props: IColorInputProps & IMaskedInputProps & IColorsProps); static getDerivedStateFromProps(nextProps: any): { selectedColor: any; }; onChange: (e: any) => void; onSelect: ({ color }: { color: any; }) => void; render(): JSX.Element; } export { ColorInput };