import type { PropertyValues, TemplateResult } from "lit"; import { XmField } from "../field/index.js"; import "../primitives/index.js"; /** * @fires change - Fired on commit with the new value in `detail`. * @fires input - Fired on each edit with the current value in `detail`. */ export declare class XmSlider extends XmField { static styles: CSSStyleSheet[]; min: number; max: number; step: number; /** Show the current numeric value as a label beside the track. */ showValue: boolean; /** Optional unit appended to the displayed value (e.g. "%", "px"). */ unit: string; private _track; private _dragging; connectedCallback(): void; /** Typed live read; the inherited string `value` stays in sync. */ get valueAsNumber(): number; private get _num(); private get _fraction(); private _clampSnap; private _setValue; private _commit; private _valueFromClientX; private _onPointerDown; private _onPointerMove; private _onPointerUp; private _focusThumb; private _onKeydown; private _onBlur; protected updated(changed: PropertyValues): void; private get _valueText(); render(): TemplateResult; } declare global { interface HTMLElementTagNameMap { "xm-slider": XmSlider; } }