import * as React from "react"; export declare type ToolBoxAddColorStates = { activeColor: string; isAddColor: boolean; isVisible: boolean; }; export declare type ToolBoxAddColorProps = { newColorArray?: (colorArray: string[]) => void; newColor?: (color: string) => void; colorConfig?: string[]; }; export default class ToolBoxAddColor extends React.Component { constructor(props: ToolBoxAddColorProps); private handleChangeComplete; private updateColorArray; private handleVisibleChange; componentWillUnmount(): void; render(): React.ReactNode; }