import { CSSProperties } from 'react'; export type RatingProps = { /** Label for screen readers (required) */ accessibilityLabel: string; /** Total number of stars */ max: number; /** Current rating value */ selectedValue: number; /** Disable the radio group */ disabled?: boolean; /** Make the component non-interactive */ readOnly?: boolean; /** Callback when rating changes */ onChange?: (selectedValue: number) => void; /** Callback when hovered rating changes */ onHover?: (hoveredValue: number) => void; /** Tracks our `size_avatar` tokens for consistent sizing */ size?: 'xsmall' | 'small' | 'medium' | 'large'; style?: Readonly; className?: string; /** Test id for automation */ 'data-testid'?: string; }; /** - Styled radio button group for selecting a rating. - Works with screen readers and keyboard navigation. - Rating is a controlled component: When not `readOnly`, you must provide an `onChange` handler to update `selectedValue`. */ export declare function Rating({ accessibilityLabel, className, 'data-testid': dataTestId, disabled, max, selectedValue, onChange, onHover, readOnly, size, style, }: RatingProps): import("react/jsx-runtime").JSX.Element; export default Rating;