import { HTMLAttributes, Ref } from 'react'; import { FieldError, FieldValues, UseFormRegister } from 'react-hook-form'; import { IComponentBaseProps, Size } from '../types'; export declare const RATING = "rating"; export type RatingMask = "star" | "star-2" | "heart"; export declare const SIZE_MAP: Record; export declare const MASK_MAP: Record; export declare const RATING_MAP: { half: string; hidden: string; star: string; "star-2": string; heart: string; xs: string; sm: string; md: string; lg: string; xl: string; }; export interface RatingProps extends Omit, "onChange" | "defaultValue"> { ref?: Ref; name: string; value?: number; defaultValue?: number; onChange?: (value: number) => void; count?: number; mask?: RatingMask; size?: Size; half?: boolean; clearable?: boolean; readOnly?: boolean; color?: string; disabled?: boolean; register?: UseFormRegister; error?: FieldError; dataTheme?: IComponentBaseProps["dataTheme"]; }