import type { OptionalEmailSettings } from '@redocly/config';
export declare const FEEDBACK_MAX_RATING = 5;
export type RatingProps = {
    onSubmit: (value: {
        score: number;
        comment?: string;
        reasons?: string[];
        max: number;
        email?: string;
    }) => void;
    settings?: {
        label?: string;
        submitText?: string;
        comment?: {
            hide?: boolean;
            label?: string;
        };
        reasons?: {
            hide?: boolean;
            label?: string;
            component?: string;
            items: string[];
        };
        optionalEmail?: OptionalEmailSettings;
    };
    className?: string;
};
export declare function Rating({ settings, onSubmit, className }: RatingProps): JSX.Element;
