import { type HTMLAttributes } from 'react';
import { type VariantProps } from 'class-variance-authority';
declare const ratingVariants: (props?: ({
size?: "sm" | "md" | "lg" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
interface RatingProps extends Omit, 'aria-label'>, VariantProps {
/** Average score, 0..max. Fractional values render as half-step fills. */
value: number;
/** Total number of stars. Defaults to 5. */
max?: number;
/** Optional inline review-count summary. Plural-aware via i18next. */
reviews?: {
count: number;
label?: string;
};
/** Underline the reviews summary text — useful when it's a link. */
underlined?: boolean;
/**
* When `true`, the rating is decorative — `aria-hidden`, no role, no
* computed label. Use when the surrounding context already announces
* the score (e.g. a card whose accessible name includes the value).
*/
decorative?: boolean;
/** Override the default i18n-derived `aria-label`. */
'aria-label'?: string;
}
export declare const Rating: import("react").ForwardRefExoticComponent>;
export type { RatingProps };
//# sourceMappingURL=rating.d.ts.map