import { type TemplateResult } from 'lit'; import type { NuiType } from '../../types/nui-type.js'; export declare const DEFAULT_RATING_ON_ICON = "mdi:star"; export declare const DEFAULT_RATING_OFF_ICON = "mdi:star-outline"; export interface NuiRatingViewState { value: number; name: string; stars: number; disabled: boolean; readonly: boolean; invalid: boolean; onIcon: string; offIcon: string; nuiType: NuiType; ratingClass: string; } export declare function getRatingClass(ratingClass: string): string; export declare function clampStars(stars: number): number; export declare function clampRatingValue(value: number, stars: number): number; export declare function getStarIndices(stars: number): number[]; export declare function getNextRatingValue(current: number, selected: number): number; export declare function getRatingIcon(star: number, value: number, onIcon: string, offIcon: string): string; export declare function getRatingGroupName(name: string, hostId: string): string; export declare function getStarAriaLabel(star: number): string; export declare function renderRating(state: NuiRatingViewState, groupName: string, onOptionClick: (event: Event, star: number) => void, onOptionChange: (event: Event, star: number) => void): TemplateResult; //# sourceMappingURL=logic.d.ts.map