import { ComponentPropsWithRef, PropsWithChildren } from 'react';
import { RatingStarProps } from './RatingStar';
export interface RatingProps extends PropsWithChildren<ComponentPropsWithRef<'div'>> {
    /**
     * Use the `defaultValue` prop to set the default value of the input, on a from 0 to 5.
     *
     * Use this when you want to use it in an uncontrolled manner
     */
    defaultValue?: number;
    /**
     * The value is the number of the rating selected, on a scale from 0 to 5.
     *
     * Use this when you want to use it in a controlled manner,
     * in conjunction with the `onValueChange` prop
     */
    value?: number;
    /**
     * Event handler called when the value changes.
     */
    onValueChange?: (value: number) => void;
    /**
     * Sets the component as interactive or not.
     * @default undefined
     */
    readOnly?: boolean;
    /**
     * When `true`, prevents the user from interacting.
     * @default false
     */
    disabled?: boolean;
    /**
     * Sets the size of the stars.
     * @default 'md'
     */
    size?: RatingStarProps['size'];
    /**
     * Name of the underlying input.
     * @default undefined
     */
    name?: string;
    /**
     * id of the underlying input.
     * @default undefined
     */
    id?: string;
    /**
     * aria-label of the underlying input.
     * @default undefined
     */
    'aria-label': string;
}
export declare const Rating: ({ defaultValue, value: propValue, onValueChange, size, disabled, readOnly, name, id, "aria-label": ariaLabel, ref, ...rest }: RatingProps) => import("react/jsx-runtime").JSX.Element;
