import { Component } from 'react'; import type { RequestAnimationFrameType } from '@instructure/ui-dom-utils'; import type { RatingIconProps, RatingIconState } from './props'; /** --- parent: Rating id: Rating.Icon --- **/ declare class RatingIcon extends Component { static readonly componentId = "Rating.Icon"; static allowedProps: readonly (keyof { animationDelay?: number; animateFill?: boolean; filled?: boolean; size?: "small" | "medium" | "large"; })[]; static defaultProps: { animationDelay: number; animateFill: boolean; filled: boolean; size: string; }; ref: HTMLSpanElement | null; constructor(props: RatingIconProps); _timeouts: ReturnType[]; _animation: RequestAnimationFrameType | undefined; componentDidMount(): void; componentDidUpdate(prevProps: RatingIconProps): void; componentWillUnmount(): void; makeStyleProps: () => { filled: boolean; }; fill: () => void; render(): import("@emotion/react/jsx-runtime").JSX.Element; } export default RatingIcon; export { RatingIcon }; //# sourceMappingURL=index.d.ts.map