import * as React from 'react';

interface StarRatingProps {
    starLength?: number;
    color?: string;
    size?: number;
    starStyle?: React.CSSProperties;
    starTextStyle?: React.CSSProperties;
    messages?: string[];
    defaultRating?: number;
    newRating: (rating: number) => void;
    disabled?: boolean;
}

declare const StarRating: React.FC<StarRatingProps>;

export { StarRating, type StarRatingProps };
