/** * @prettier */ import React from 'react'; interface OnChangeProps { target: { name: string; value: string; }; } interface UIColorPickerProps { alpha?: boolean; color: string; error?: string; isDisabled: boolean; name: string; onChange: (e: OnChangeProps) => void; openOnFocusInput: boolean; value: string; } interface UIColorPickerState { isVisible: boolean; } export declare class UIColorPicker extends React.PureComponent { static defaultProps: { color: string; openOnFocusInput: boolean; isDisabled: boolean; }; constructor(props: any); componentDidMount(): void; componentWillUnmount(): void; handleFocusInput: () => void; handleChange: (data: OnChangeProps | string) => void; togglePicker: (isVisible: boolean | React.MouseEvent) => void; close: ({ key }: KeyboardEvent) => void; render(): React.ReactElement; } export {};