import { ColorFormats } from 'tinycolor2'; import { State } from '../../hooks/useState'; export declare enum Mode { RGB = 0, HSL = 1 } export declare function useInput(hsv: State, rgb: State, hsl: State): { onInputHex: (e: InputEvent) => void; mode: State; changeMode: () => void; changeColor: (type: string, v: number) => void; onStart: () => void; onEnd: () => void; dragging: State; setInputValue: (type: string, maxValue: number, e: InputEvent) => void; };