import React from 'react';
import { StyleProp, TextStyle } from 'react-native';
import { IconsName } from '../Icon';
import { TabsItemIconTypes } from '../Tabs/TabsItem';
export declare type icoType = [TabsItemIconTypes, TabsItemIconTypes];
export interface RatingProps {
    /**  默认选中几个 */
    defaultRating?: number;
    /** 总数*/
    resultRating?: number;
    /** icon 大小 */
    size?: number;
    /** icon 颜色 */
    color?: string;
    /** actived 激活 unactived 未激活 */
    icon?: {
        actived?: TabsItemIconTypes;
        unactived?: TabsItemIconTypes;
    };
    /**
     * void
     * @param score type: number 得到几分
     */
    onPress?: (score: number) => void;
    /** 自定义每项的提示信息 */
    tooltips?: string[];
    /** 自定义提示信息样式 */
    tooltipsStyle?: StyleProp<TextStyle>;
    /** 只读模式 */
    disabled: boolean;
}
export interface RatingState {
    icon: Array<IconsName | React.ReactElement | React.ReactNode>;
    resultRating: number;
    size: number;
    color: string;
    defaultRating: number;
    typeIcon: icoType;
    tooltips?: string[];
    tooltipsText?: string;
    disabled: boolean;
}
declare function Rating(props: RatingProps): JSX.Element;
export default Rating;
