import { Constructor } from "../../internal/utils/dedupe-mixin.js"; import { FormAssociated } from "../../internal/behaviors/form-associated.js"; import { WidgetElement } from "../../internal/widget-element.js"; import { PropertyValues, TemplateResult } from "lit"; import { OdxIconName } from "@odx/icons"; declare global { interface HTMLElementTagNameMap { 'odx-rating': OdxRating; } } type RatingSize = (typeof RatingSize)[keyof typeof RatingSize]; declare const RatingSize: { readonly SM: "sm"; readonly MD: "md"; readonly LG: "lg"; }; type RatingVariant = (typeof RatingVariant)[keyof typeof RatingVariant]; declare const RatingVariant: { readonly NEUTRAL: "neutral"; readonly CALLOUT: "callout"; }; declare const OdxRating_base: Constructor & typeof WidgetElement; /** * @summary A rating component that displays a rating scale */ declare class OdxRating extends OdxRating_base { #private; static tagName: string; static styles: import("lit").CSSResult[]; private trackElement; private indicatorElement; icon?: OdxIconName; max: number; size: RatingSize; step: number; variant: RatingVariant; value: number; getIcon(_index: number): OdxIconName; constructor(); connectedCallback(): void; protected render(): TemplateResult; protected updated(props: PropertyValues): void; } export { OdxRating, RatingSize, RatingVariant };