import { StarInteractionState } from '../Star/Star.styles'; export type StarRatingInteractionState = StarInteractionState; export interface StarRatingProps { /** Number of stars to render. */ max?: number; /** Controlled value. When provided, `onChange` must update it. */ value?: number; /** Initial value for the uncontrolled mode. */ defaultValue?: number; /** Fired with the new whole-star value on selection. */ onChange?: (value: number) => void; /** Display mode: renders the value (fractions allowed) with no interaction. */ readOnly?: boolean; /** Muted, non-interactive palette. */ disabled?: boolean; /** Star size in pixels. */ size?: number; /** Native radio group name, so the rating submits inside a `