/// import React from 'react'; import type { RatingProps } from '@alifd/next/types/rating'; declare const _default: React.ForwardRefExoticComponent> & import("hoist-non-react-statics").NonReactStatics number; allowHalf: boolean; allowClear: boolean; onChange: () => void; onHoverChange: () => void; locale: Partial<{ description: string; }> & { momentLocale?: string; }; }>; componentDidMount(): void; componentWillUnmount(): void; clearTimer(): void; getRenderResult(): void; getValue(e: React.MouseEvent): number; handleHover(e: React.MouseEvent): void; handleLeave(): void; onKeyDown(e: React.KeyboardEvent): true | void; handleChecked(index: number): void; handleClick(e: React.MouseEvent): void; getOverlayWidth(): number | "auto"; getInfoLeft(): number; saveRef: (ref: HTMLSpanElement, i: number) => void; render(): React.JSX.Element; context: any; setState(state: import("@alifd/next/types/rating/types").RatingState | ((prevState: Readonly, props: Readonly) => import("@alifd/next/types/rating/types").RatingState | Pick) | Pick, callback?: () => void): void; forceUpdate(callback?: () => void): void; state: Readonly; refs: { [key: string]: React.ReactInstance; }; shouldComponentUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): boolean; componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void; getSnapshotBeforeUpdate?(prevProps: Readonly, prevState: Readonly): any; componentDidUpdate?(prevProps: Readonly, prevState: Readonly, 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, nextContext: any): void; UNSAFE_componentWillUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): void; }, {}> & { currentValue: (min: number, max: number, hoverValue: number, stateValue: number) => number; }, {}>; export default _default; export type { RatingProps };