import type { FocusEventHandler, KeyboardEventHandler } from '@antdv/ui/es/types';
import type { ExtractPropTypes, PropType } from 'vue';
import type { Direction } from '../../config-provider';
export declare function rateProps(): {
    prefixCls: StringConstructor;
    count: {
        type: NumberConstructor;
        default: number;
    };
    value: {
        type: NumberConstructor;
        default: number;
    };
    allowHalf: {
        type: BooleanConstructor;
        default: boolean;
    };
    allowClear: {
        type: BooleanConstructor;
        default: boolean;
    };
    tooltips: PropType<string[]>;
    disabled: {
        type: BooleanConstructor;
        default: any;
    };
    character: any;
    autofocus: {
        type: BooleanConstructor;
        default: any;
    };
    tabindex: {
        type: (NumberConstructor | StringConstructor)[];
        default: number;
    };
    direction: {
        type: PropType<Direction>;
        default: string;
    };
    id: StringConstructor;
    onChange: PropType<(value: number) => void>;
    onHoverChange: PropType<(value: number) => void>;
    'onUpdate:value': PropType<(value: number) => void>;
    onFocus: PropType<FocusEventHandler>;
    onBlur: PropType<FocusEventHandler>;
    onKeydown: PropType<KeyboardEventHandler>;
};
export declare function starProps(): {
    value: NumberConstructor;
    index: NumberConstructor;
    prefixCls: StringConstructor;
    allowHalf: {
        type: BooleanConstructor;
        default: any;
    };
    disabled: {
        type: BooleanConstructor;
        default: any;
    };
    character: any;
    characterRender: FunctionConstructor;
    focused: {
        type: BooleanConstructor;
        default: any;
    };
    count: NumberConstructor;
    onClick: FunctionConstructor;
    onHover: FunctionConstructor;
};
export type StarProps = Partial<ExtractPropTypes<ReturnType<typeof starProps>>>;
export type RateProps = Partial<ExtractPropTypes<ReturnType<typeof rateProps>>>;
