interface Props {
    /** The text to display alongside the rating */
    text?: {
        text?: string;
        low?: string;
        high?: string;
        success?: string;
    };
    /** The maximum rating */
    topRating?: number;
    /** The functions to create, update, and handle errors with the rating */
    functions: {
        createRating: (() => Promise<any>) | (() => void);
        updateRating: (({ id, value }: {
            id: string;
            value: number;
        }) => Promise<any>) | (({ id, value }: {
            id: string;
            value: number;
        }) => void);
        reportError: (error: any) => void;
    };
    /** Whether the rating has loaded */
    hasLoaded?: boolean;
    /** Additional classes */
    className?: string;
    /** The language to use for the text */
    locale?: string;
}
declare const Rating: ({ text: textProp, topRating, functions: { createRating, updateRating, reportError, }, className, hasLoaded, }: Props) => import("react/jsx-runtime").JSX.Element;
export default Rating;
