import { CSSResultGroup, PropertyValues, TemplateResult, LitElement } from 'lit'; declare const SbbSliderElement_base: import('../core/mixins.js').AbstractConstructor & typeof LitElement; /** * It displays an input knob that can be moved in a range. * * @slot prefix - Use this slot to render an icon on the left side of the input. * @slot suffix - Use this slot to render an icon on the right side of the input. * @event {CustomEvent} didChange - Deprecated. used for React. Will probably be removed once React 19 is available. */ export declare class SbbSliderElement extends SbbSliderElement_base { static styles: CSSResultGroup; static readonly events: { readonly didChange: "didChange"; }; /** Value for the inner HTMLInputElement. */ value?: string; /** Numeric value for the inner HTMLInputElement. */ valueAsNumber?: number; /** Name of the inner HTMLInputElement. */ name?: string; /** The
element to associate the inner HTMLInputElement with. */ form?: string; /** Minimum acceptable value for the inner HTMLInputElement. */ min?: string; /** Maximum acceptable value for the inner HTMLInputElement. */ max?: string; /** * Readonly state for the inner HTMLInputElement. * Since the input range does not allow this attribute, it will be merged with the `disabled` one. */ readonly?: boolean; /** Name of the icon at component's start, which will be forward to the nested `sbb-icon`. */ startIcon?: string; /** Name of the icon at component's end, which will be forward to the nested `sbb-icon`. */ endIcon?: string; /** * The ratio between the absolute value and the validity interval. * E.g. given `min=0`, `max=100` and `value=50`, then `_valueFraction=0.5` */ private _valueFraction; /** * @deprecated only used for React. Will probably be removed once React 19 is available. */ private _didChange; /** Reference to the inner HTMLInputElement with type='range'. */ private _rangeInput; private _abort; connectedCallback(): void; protected willUpdate(changedProperties: PropertyValues): void; private _syncValues; /** * Recalculates the `_valueFraction` on change to correctly display the slider knob and lines. * The first calculation happens in connectedCallback(...), so since `_rangeInput` is not yet available, * the `min` and `max` values are used; if `value` is not provided, the default value is halfway between min and max * (see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/range#value). */ private _handleChange; private _handleKeydown; /** Emits the change event. */ private _emitChange; protected render(): TemplateResult; } declare global { interface HTMLElementTagNameMap { 'sbb-slider': SbbSliderElement; } } export {}; //# sourceMappingURL=slider.d.ts.map