import React, { Component } from "react"; import EditorProps from "../EditorProps"; import { IEditor } from "./IEditor"; /** * */ export interface ColorEditorProps extends EditorProps { } /** * */ interface ColorEditorState { value: any; } /** * */ export declare class ColorEditor extends Component implements IEditor { private ref; constructor(props: ColorEditorProps); setValue(value: string): void; getValue(): string; validate(): boolean; getErrors(): string[]; getInputEl(): HTMLInputElement | null; handleKeyDown(event: React.KeyboardEvent): void; render(): JSX.Element; handleChange(event: React.ChangeEvent): void; } export default ColorEditor;