import { Component } from 'react'; import { RatingIcon } from '../../RatingIcon/v1'; import type { RatingProps } from './props'; /** --- category: components --- **/ declare class Rating extends Component { static readonly componentId = "Rating"; static allowedProps: readonly (keyof { label: string; formatValueText?: (filled: number, iconCount: number) => string; iconCount?: 3 | 5; size?: "small" | "medium" | "large"; valueMax?: number; valueNow?: number; animateFill?: boolean; margin?: import("@instructure/emotion").Spacing; })[]; static defaultProps: { animateFill: boolean; formatValueText: (filled: number, iconCount: number) => string; iconCount: number; size: string; valueNow: number; }; static Icon: typeof RatingIcon; ref: Element | null; handleRef: (el: Element | null) => void; componentDidMount(): void; componentDidUpdate(): void; get filled(): number; get empty(): number; render(): import("@emotion/react/jsx-runtime").JSX.Element; } export default Rating; export { Rating }; //# sourceMappingURL=index.d.ts.map