import { Component } from 'react'; import { RatingProps as NextRatingProps } from '@alifd/next/types/rating'; interface RatingAddProps { shape?: 'star' | 'favorite' | 'number'; } interface RatingProps extends NextRatingProps, RatingAddProps { } interface IRatingState { value: string; hoverValue: number; iconSpace: number; iconSize: number; clicked: boolean; } declare class Rating extends Component { static currentValue(min: any, max: any, hoverValue: any, stateValue: any): any; constructor(props: any); genElements: (values: any) => any; addEle: (value: any, index: any) => JSX.Element; getOverlayWidth(size: any): number | "auto"; handleHover: (value: any) => void; handleLeave: () => void; render(): JSX.Element; } declare const _default: typeof Rating; export default _default;