import { LitElement, type CSSResultGroup, type PropertyValues, type TemplateResult } from "lit"; import { getFormValue } from "../utils/index.ts"; declare const BaseClass: import("../utils/index.ts").MixinReturn<(abstract new (...args: any[]) => import("../utils/index.ts").WithElementInternals) & typeof LitElement & import("../utils/mixins/with-form-associated.ts").FormAssociatedConstructor, import("../utils/index.ts").FormAssociated>; /** * @summary A Slider component for displaying rate in range. * * @tag tapsi-rate-slider * * @fires {Event} change - Fired when value changes. */ export declare class RateSlider extends BaseClass { /** @internal */ static readonly styles: CSSResultGroup; /** @internal */ static shadowRootOptions: ShadowRootInit; private _value; /** * The current value of the input. It is always a string. * * @prop {string} value * @attr {string} value * @default "" */ get value(): string; set value(newValue: string); /** * Defines the human-readable text alternative of value. * * https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-valuetext * * @prop {string} valueText * @attr {string} valuetext * @default "" */ valueText: string; /** * Defines a string value that can be used to name input. * * https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label * * @prop {string} label * @attr {string} label * @default "" */ label: string; /** * Identifies the element (or elements) that labels the input. * * https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-labelledby * * @prop {string} labelledBy * @attr {string} labelledby * @default "" */ labelledBy: string; /** * Defines the maximum value in the range of permitted values. * * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#max * * @prop {string} max * @attr {string} max * @default "10" */ max: string; /** * Defines the minimum value in the range of permitted values. * * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#min * * @prop {string} min * @attr {string} min * @default "0" */ min: string; /** * Indicates that the element should be focused on page load. * * https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus * * @prop {boolean} autofocus * @attr {string} autofocus * @default false */ autofocus: boolean; private _root; private _isDragStarted; constructor(); protected firstUpdated(changed: PropertyValues): void; /** @internal */ connectedCallback(): void; /** @internal */ disconnectedCallback(): void; private get _selectedStopIdx(); /** * The input's value as a number. * * @prop {number} valueAsNumber */ get valueAsNumber(): number; set valueAsNumber(value: number); /** * Decrements the value of the input. */ stepDown(): void; /** * Increments the value of the input. */ stepUp(): void; /** @internal */ focus(options?: FocusOptions): void; /** @internal */ blur(): void; /** @internal */ formDisabledCallback(disabled: boolean): void; /** @internal */ [getFormValue](): string; /** @internal */ formResetCallback(): void; /** @internal */ formStateRestoreCallback(state: string): void; private get _stopsIterator(); private _handleIncrease; private _handleDecrease; private _handleKeyDown; private _getClientX; private _handleDragStart; private _handleDragEnd; private _handleDragging; private _findClosestValue; private _handleStopClick; private _emitValueChange; private _renderGradient; private _renderStop; private _renderStops; protected render(): TemplateResult; } export {};