import './style.css'; import { SylApi } from '@syllepsis/adapter'; import React from 'react'; interface IColorPickerState { open: boolean; color: string; marginLeft: number; } interface IColorProps { name: string; getValue: any; editor: SylApi; getAttrs: any; defaultColor: string; mountDOM: HTMLElement; } declare class ColorPicker extends React.Component { picker?: HTMLDivElement; $btn: HTMLElement | null; sel: string; constructor(props: IColorProps); private fixPos; private getColor; updateColor: () => void; componentDidMount(): void; componentWillUnmount(): void; listenClose: () => void; unListenClose: () => void; judge: (e: MouseEvent) => void; changeColor: (_color: string | false) => void; setIconColor: (color: string) => void; hide: () => void; open: () => void; toggleVisible: () => void; render(): JSX.Element; } export { ColorPicker };