import { default as React, HTMLAttributes, ReactNode } from 'react';
export interface RatingProps extends Omit, 'onChange'> {
/**
* ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
*/
testId?: string;
/**
* The length of child elements.
*/
length?: number;
/**
* The current value of the rating, based on the quantity of child elements.
*/
value: number;
/**
* Icon to represent the rating score unit (e.g.: a component)
*/
icon?: ReactNode;
/**
* Function to be triggered when Rating option change. This should only be used if you and an actionable rating list.
*/
onChange?: (value: number) => void;
/**
* Specifies that the actionable rating should be disabled.
*/
disabled?: boolean;
}
export interface RatingItemProps {
'data-fs-rating-item'?: 'full' | 'partial' | 'empty';
'data-testid'?: string;
}
declare const Rating: React.ForwardRefExoticComponent>;
export default Rating;
//# sourceMappingURL=Rating.d.ts.map