import { RateColorMap, RateIconMap, RateProps } from './rate.js';
import { DefineComponent, ShallowRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
import { ComponentSize } from '../../../xiaoye-primitives/index.js';
declare function setCurrentValue(value: number, event?: MouseEvent): void;
declare function resetCurrentValue(): void;
declare function focus(): void;
declare function blur(): void;
declare const _default: DefineComponent<RateProps, {
    root: ShallowRef<HTMLElement | null, HTMLElement | null>;
    focus: typeof focus;
    blur: typeof blur;
    setCurrentValue: typeof setCurrentValue;
    resetCurrentValue: typeof resetCurrentValue;
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
    blur: (event: FocusEvent) => any;
    change: (value: number) => any;
    focus: (event: FocusEvent) => any;
    "update:modelValue": (value: number) => any;
}, string, PublicProps, Readonly<RateProps> & Readonly<{
    onBlur?: ((event: FocusEvent) => any) | undefined;
    onChange?: ((value: number) => any) | undefined;
    onFocus?: ((event: FocusEvent) => any) | undefined;
    "onUpdate:modelValue"?: ((value: number) => any) | undefined;
}>, {
    size: ComponentSize;
    id: string;
    modelValue: number | null;
    disabled: boolean;
    max: number;
    validateEvent: boolean;
    ariaLabel: string;
    clearable: boolean;
    textColor: string;
    showText: boolean;
    lowThreshold: number;
    highThreshold: number;
    colors: RateColorMap;
    voidColor: string;
    disabledVoidColor: string;
    icons: RateIconMap;
    voidIcon: string;
    disabledVoidIcon: string;
    allowHalf: boolean;
    showScore: boolean;
    texts: string[];
    scoreTemplate: string;
}, {}, {}, {}, string, ComponentProvideOptions, false, {
    rootRef: HTMLDivElement;
}, any>;
export default _default;
