import { starRatingSizes, starRatingSpeed, starRatingColor, starRatingPosition, starRatingStarSpace, starRatingStarTypes, starRatingDirection } from "./star-rating-struct"; export declare class StarRating { protected config: any; /** * id property to identify the DOM element */ protected _id: string; id: string; /** * focus */ protected _focus: boolean; focus: boolean; /** * labelText */ protected _labelText: string; labelText: string; /** * labelPosition */ protected _labelPosition: starRatingPosition; labelPosition: starRatingPosition; /** * labelVisible */ protected _labelVisible: boolean; labelVisible: boolean; /** * hoverEnabled */ protected _hoverEnabled: boolean; hoverEnabled: boolean; /** * staticColor */ protected _staticColor: starRatingColor; staticColor: starRatingColor; /** * direction */ protected _direction: starRatingDirection; direction: starRatingDirection; /** * numOfStars */ protected _numOfStars: number; numOfStars: number; /** * hoverRating */ protected _hoverRating: number; hoverRating: number; /** * speed */ protected _speed: starRatingSpeed; speed: starRatingSpeed; /** * size */ protected _size: starRatingSizes; size: starRatingSizes; /** * starType */ protected _starType: starRatingStarTypes; starType: starRatingStarTypes; /** * space */ protected _space: starRatingStarSpace; space: starRatingStarSpace; /** * readOnly */ protected _readOnly: boolean; readOnly: boolean; /** * disabled */ protected _disabled: boolean; disabled: boolean; private _step; step: number; /** * rating */ protected _rating: number; rating: number; /** * setRating * I use a setter function instead of a set method to enable overrides for this function. * @param value */ setRating(value: number): void; /** * showHalfStars */ protected _showHalfStars: boolean; showHalfStars: boolean; /** * getColor */ getColor: (rating: number, numOfStars: number, staticColor?: starRatingColor) => starRatingColor; /** * getHalfStarVisible */ getHalfStarVisible: (rating: number) => boolean; classEmpty: string; classHalf: string; classFilled: string; pathEmpty: string; pathHalf: string; pathFilled: string; color: starRatingColor; stars: Array; ratingAsInteger: number; halfStarVisible: boolean; constructor(); svgVisible(): boolean; interactionPossible(): boolean; setColor(): void; setHalfStarVisible(): void; getComponentClassNames(): string; increment(): void; decrement(): void; reset(): void; }