import { AtomProps } from "../Atom/Atom.vue.mjs"; import "../Atom/index.mjs"; import { RatingItemState } from "../../composables/createRating/index.mjs"; //#region src/components/Rating/RatingItem.vue.d.ts interface RatingItemProps extends AtomProps { /** 1-based position */ index: number; /** Namespace for context injection from parent Rating.Root */ namespace?: string; } interface RatingItemSlotProps { /** Fill state based on current or hovered value */ state: RatingItemState; /** Whether item is within hover preview range */ isHighlighted: boolean; /** Whether rating is disabled */ isDisabled: boolean; /** Whether rating is readonly */ isReadonly: boolean; /** Pre-computed attributes for binding */ attrs: { 'data-state': RatingItemState; 'data-highlighted': true | undefined; 'data-disabled': true | undefined; 'data-readonly': true | undefined; 'onPointermove': (e: PointerEvent) => void; 'onClick': () => void; }; } declare const _default: typeof __VLS_export; declare const __VLS_export: __VLS_WithSlots & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, { default: (props: RatingItemSlotProps) => any; }>; type __VLS_WithSlots = T & { new (): { $slots: S; }; }; //#endregion export { RatingItemProps, RatingItemSlotProps, _default as default };