import React from 'react'; import { type SemanticClassName } from "../_util/classNameUtils"; import type { StarProps, StarSemanticClassName } from './Star'; export interface RateProps extends Pick { value?: number; defaultValue?: number; allowClear?: boolean; style?: React.CSSProperties; prefixCls?: string; onChange?: (value: number) => void; onHoverChange?: (value?: number) => void; className?: SemanticClassName<{ star?: StarSemanticClassName; }, { disabled?: boolean; }>; onFocus?: () => void; onBlur?: () => void; onKeyDown?: React.KeyboardEventHandler; onMouseEnter?: React.MouseEventHandler; onMouseLeave?: React.MouseEventHandler; id?: string; autoFocus?: boolean; /** * Is keyboard control enabled. * @default true */ keyboard?: boolean; tooltips?: Array; } export interface RateRef { focus: VoidFunction; blur: VoidFunction; } declare const Rate: React.ForwardRefExoticComponent>; export default Rate;