import React from 'react'; import type { ViewProps } from 'react-native'; interface RateOption { value: T; } interface RateProps extends ViewProps { /** * Options for rate component. */ options: RateOption[]; /** * Value of the component. */ value?: T; /** * Callback when value changes. */ onChange?: (value: T) => void; /** * Whether the component is readonly. */ readonly?: boolean; /** * Whether the component is disabled. */ disabled?: boolean; } declare const Rate: ({ options, value, onChange, readonly, disabled, ...otherProps }: RateProps) => React.JSX.Element; export default Rate;