import * as React from 'react'; type RatingRootProps = Omit, 'children' | 'color' | 'onChange'>; export type RatingColor = 'destructive' | 'primary' | 'warning' | 'yellow'; export type RatingSize = 'sm' | 'md' | 'lg'; export type RatingType = 'heart' | 'star'; export interface RatingProps extends RatingRootProps { value: number; onChange?: (value: number) => void; max?: number; size?: RatingSize; color?: RatingColor; type?: RatingType; readOnly?: boolean; name?: string; className?: string; } declare function Rating({ value, onChange, max, size, color, type, readOnly, name, className, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, onMouseLeave, ...props }: RatingProps): React.JSX.Element; declare namespace Rating { var displayName: string; } export { Rating };