import * as React from 'react'; export interface RatingProps extends Omit, 'onChange' | 'defaultValue'> { /** Controlled value. Pair with `onValueChange`. */ value?: number; /** Initial value when uncontrolled. */ defaultValue?: number; /** Called with the new value whenever it changes. */ onValueChange?: (value: number, details: { event: React.SyntheticEvent | KeyboardEvent; }) => void; /** Number of rating items. */ max?: number; /** Allows half-step values. */ allowHalf?: boolean; /** Makes the value read-only while keeping it focusable. */ readOnly?: boolean; /** Disables interaction. */ disabled?: boolean; /** Item glyph; default renders the css star. */ icon?: React.ReactNode; 'aria-label'?: string; } export declare function Rating({ value, defaultValue, onValueChange, max, allowHalf, readOnly, disabled, icon, className, ref, 'aria-label': ariaLabel, ...rest }: RatingProps & { /** Ref to the rendered root element. */ ref?: React.Ref | undefined; }): React.JSX.Element; //# sourceMappingURL=Rating.client.d.ts.map