import * as React from 'react'; import { IconName } from '../Icon'; import { InputProps } from '../../common'; export interface RatingProps extends InputProps { /** * Sets the icon to be used. * @default Favorite */ icon?: IconName; /** * The number of levels for the rating. By default 5. * @default 5 */ levels?: number; /** * Sets the size of the stars. * @default "medium" */ size?: 'small' | 'medium'; /** * @ignore */ children?: void; } export interface RatingState { controlled: boolean; value: number; error?: React.ReactChild; hover: number; changers: Array<() => void>; hovers: Array<() => void>; } /** * An input control for providing user ratings. */ export declare const Rating: React.SFC;