import type { NuiRatingEventMap } from './types.js'; export type { NuiRatingEventMap }; import '../nui-icon/nui-icon.js'; import { LitElement, type PropertyValues } from 'lit'; import { type NuiType } from '../../types/nui-type.js'; import { type NuiRatingViewState } from './logic.js'; export declare class NuiRating extends LitElement implements NuiRatingViewState { value: number; name: string; stars: number; disabled: boolean; readonly: boolean; invalid: boolean; onIcon: string; offIcon: string; unstyled: boolean; nuiType: NuiType; ratingClass: string; protected createRenderRoot(): DocumentFragment | HTMLElement; protected firstUpdated(): void; protected updated(changed: PropertyValues): void; private normalizeValue; private updateValue; private handleOptionClick; private handleOptionChange; render(): import("lit-html").TemplateResult; } export interface NuiRating { addEventListener( type: K, listener: (this: NuiRating, ev: NuiRatingEventMap[K]) => void, options?: boolean | AddEventListenerOptions, ): void; addEventListener( type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions, ): void; removeEventListener( type: K, listener: (this: NuiRating, ev: NuiRatingEventMap[K]) => void, options?: boolean | AddEventListenerOptions, ): void; removeEventListener( type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions, ): void; } declare global { interface HTMLElementTagNameMap { 'nui-rating': NuiRating; } } //# sourceMappingURL=nui-rating.d.ts.map