import React from 'react'; import type * as CSS from 'csstype'; import { HsvaColor, type ColorResult } from '@uiw/color-convert'; import { type PointerProps } from './Pointer'; export interface WheelProps extends Omit, 'onChange' | 'color'> { prefixCls?: string; color?: string | HsvaColor; width?: number; height?: number; radius?: CSS.Properties['borderRadius']; /** Direction of the oval: 'x' or 'y'. */ oval?: string; /** Starting angle of the color wheel's hue gradient, measured in degrees. */ angle?: number; /** Direction of the color wheel's hue gradient; either clockwise or anticlockwise. Default: `anticlockwise` */ direction?: 'clockwise' | 'anticlockwise'; pointer?: ({ prefixCls, left, top, color }: PointerProps) => JSX.Element; onChange?: (color: ColorResult) => void; } declare const Wheel: React.ForwardRefExoticComponent>; export default Wheel;