import type { KeyboardEvent, MouseEvent, ReactElement, ReactNode } from "react"; export type RatingButtonProps = { size?: number; width?: number; height?: number; color?: string; style?: React.CSSProperties; className?: string; index?: number; icon?: ReactElement; }; export declare const RatingButton: ({ index: providedIndex, size, className, icon, }: RatingButtonProps) => import("react/jsx-runtime").JSX.Element; export type RatingProps = { defaultValue?: number; value?: number; onChange?: (event: MouseEvent | KeyboardEvent, value: number) => void; onValueChange?: (value: number) => void; readOnly?: boolean; className?: string; children?: ReactNode; } & React.HTMLAttributes; export declare const Rating: ({ value: controlledValue, onValueChange: controlledOnValueChange, defaultValue, onChange, readOnly, className, children, ...props }: RatingProps) => import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=rating.d.ts.map