import { CommonProps, DimensionStyleProps, SpaceStyleProps } from "../../theme";
import { OpaqueColorName, ViewWithValue } from "../../types";
import * as React from "react";
import { Icon } from "../icons/generic";
export type ViewRatingProps = ViewWithValue<number> & SpaceStyleProps & DimensionStyleProps & CommonProps & {
    /** Number of stars to display. Default to 5. */
    max?: number;
    /** Defaukts to `false`. */
    readOnly?: boolean;
    icon?: Icon;
    color?: OpaqueColorName;
    /**
     * The filling color in edit mode (`readOnly === false`)
     * can be different to `color`.
     */
    colorEdit?: OpaqueColorName;
    /**
     * The ouline of the star has always an opacity of 1,
     * but the fill is 1 for readOnly and 0.8 for non-readOnly,
     * by default.
     */
    fillOpacity?: number;
    name?: string;
    label?: React.ReactNode;
};
export declare function ViewRating(props: ViewRatingProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=Rating.d.ts.map