import { default as React, MutableRefObject } from 'react'; import { RatingProps } from '../..'; interface DefaultProps { /** * ID to find this component in testing tools (e.g.: cypress, testing library, and jest). */ testId?: string; /** * ID to identify input and corresponding label. */ id: string; /** * The text displayed to identify the input rating. */ label: string; /** * The error message displayed when an error occurs. */ error?: string; /** * Component's ref. */ ratingRef?: MutableRefObject; } export type RatingFieldProps = DefaultProps & RatingProps; declare const RatingField: ({ id, label, error, disabled, length, value, onChange, ratingRef, testId, ...otherProps }: RatingFieldProps) => React.JSX.Element; export default RatingField; //# sourceMappingURL=RatingField.d.ts.map