import { ChangeEvent, HTMLAttributes } from 'react';
export declare const sizes: readonly ["s", "m", "l", "xl"];
export type TRatingStarsSize = typeof sizes[number];
export declare const types: readonly ["input", "result"];
export type TRatingStarsType = typeof types[number];
export declare const scores: readonly [0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100];
export type TRatingStarsScore = typeof scores[number];
export interface IRatingStarsContainerProps extends HTMLAttributes {
className?: string;
type: TRatingStarsType;
size: TRatingStarsSize;
}
export interface IRatingStarsResultProps extends HTMLAttributes {
className?: string;
score?: TRatingStarsScore;
size?: TRatingStarsSize;
}
export interface IRatingStarsInputProps extends Omit {
name?: string;
onChange?: (score: TRatingStarsScore) => void;
}
export interface IRatingStarLabelProps {
value: string;
text: string;
name: string;
}
export interface IRatingStarInputProps {
value: string;
checked?: boolean;
name: string;
handleChange?: (event: ChangeEvent) => void;
}