import React from 'react'; export declare const Swatch: ({ color, style, onClick, onHover, title, children, focus, focusStyle, }: { color: string; style?: any; onClick?: (color: string, e: any) => void; onHover?: (color: string, e: any) => void; title?: string; children?: React.ReactNode; focus?: boolean; focusStyle?: any; }) => React.DetailedReactHTMLElement; declare const _default: { new (props: any): { handleFocus: () => void; handleBlur: () => void; render(): React.DetailedReactHTMLElement, HTMLInputElement>; context: unknown; setState(state: Pick<{ focus: boolean; }, K> | ((prevState: Readonly<{ focus: boolean; }>, props: Readonly) => Pick<{ focus: boolean; }, K> | { focus: boolean; } | null) | { focus: boolean; } | null, callback?: (() => void) | undefined): void; forceUpdate(callback?: (() => void) | undefined): void; readonly props: Readonly; state: Readonly<{ focus: boolean; }>; componentDidMount?(): void; shouldComponentUpdate?(nextProps: Readonly, nextState: Readonly<{ focus: boolean; }>, nextContext: any): boolean; componentWillUnmount?(): void; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly, prevState: Readonly<{ focus: boolean; }>): any; componentDidUpdate?(prevProps: Readonly, prevState: Readonly<{ focus: boolean; }>, snapshot?: any): void; componentWillMount?(): void; UNSAFE_componentWillMount?(): void; componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void; UNSAFE_componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void; componentWillUpdate?(nextProps: Readonly, nextState: Readonly<{ focus: boolean; }>, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, nextState: Readonly<{ focus: boolean; }>, nextContext: any): void; }; contextType?: React.Context | undefined; propTypes?: any; }; export default _default;