import * as React from "react"; export interface RatingProps extends Omit, 'onChange'> { /** * Controlled value (0 to maxRating) */ value?: number; /** * Uncontrolled default value * @default 0 */ defaultValue?: number; /** * Callback when rating changes */ onValueChange?: (value: number) => void; /** * Maximum rating value * @default 5 */ maxRating?: number; /** * Allow half-star ratings * @default true */ allowHalf?: boolean; /** * Show tooltip on hover * @default true */ showTooltip?: boolean; /** * Custom tooltip content */ tooltipContent?: (value: number) => React.ReactNode; /** * Star size * @default "h-6 w-6" */ starSize?: string; } /** * Rating component with star-based input using native radio inputs * * Uses native HTML radio inputs for full accessibility: * - Keyboard navigation (Arrow keys, Space) * - ARIA attributes * - Screen reader support * - Focus management * * Visually displays as stars using CSS-only approach with flex-direction: row-reverse * and sibling selectors for hover/selection highlighting. * * @example * ```tsx * * ``` */ declare const Rating: React.ForwardRefExoticComponent>; export { Rating }; //# sourceMappingURL=rating.d.ts.map