export interface RatingBadgeDimension { /** Already-translated label of the dimension. */ label: string; /** Rating of the dimension, on the same scale as the global rating. */ value: number; } export interface RatingBadgeProps { /** * The global rating, displayed next to the star. */ rating: number; /** * Top of the rating scale — drives the "/ max" in the tooltip header and the breakdown bar widths. */ max?: number; /** * Already-translated "based on N reviews" line, shown on the right of the tooltip header. */ reviewsLabel?: string; /** * Per-dimension breakdown revealed on hover. Without dimensions and without a reviews label, * the badge renders with no tooltip at all. */ dimensions?: RatingBadgeDimension[]; /** * Indicates if the badge is dimmed (the value is kept readable but clearly inactive). */ disabled?: boolean; } declare const RatingBadge: ({ rating, max, reviewsLabel, dimensions, disabled }: RatingBadgeProps) => import("@emotion/react/jsx-runtime").JSX.Element; export default RatingBadge;