import * as React from 'react'; import { type FormValidityHandle } from '../utils/formControl.js'; import type { RatingContextValue, RatingProps } from './types.js'; export declare const RatingProvider: React.FC, useRatingContext: (consumerName: string) => RatingContextValue; /** * Root of a rating widget (e.g. stars) that manages selected value, hover preview, and keyboard navigation. * * @example * ```tsx * * ``` */ export declare const Rating: { ({ value: valueProp, defaultValue, onValueChange, onHoverValueChange, max, itemLabel, allowClear, allowHalf, disabled, readOnly, name, required, form, icon, children, ref: forwardedRef, size, ...props }: Omit & { ref?: React.Ref | undefined; }): React.ReactNode; displayName: string; };