import * as React from 'react';
import './index.less';
interface ColorSetterProps {
    value: string;
    onChange: (val: any) => void;
    defaultValue: string;
}
interface ColorSetterState {
    width: number;
    setterValue?: string | null;
}
export default class ColorSetter extends React.Component<ColorSetterProps, ColorSetterState> {
    static displayName: string;
    constructor(props: ColorSetterProps);
    componentDidMount(): void;
    /**
     * 屏幕分辨率监听
     */
    screenChange: () => void;
    /**
     * 屏幕分辨率 变换 =>  改变冒泡框的位置
     */
    changeWidth: () => void;
    componentWillUnmount(): void;
    static getDerivedStateFromProps(nextProps: ColorSetterProps, prevState: ColorSetterState): any;
    handleChange: (color: any) => void;
    render(): React.JSX.Element;
}
export {};
