/** * SPDX-FileCopyrightText: (c) 2026 Liferay, Inc. https://liferay.com * SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06 */ import { InternalDispatch } from '@clayui/shared'; import React from 'react'; interface IProps extends Omit, 'onChange'> { /** * Property to set the default value (uncontrolled). */ defaultValue?: number; /** * Flag that will disable component features. */ disabled?: boolean; /** * Sets maximum permitted value. */ max?: number; /** * Sets minimum permitted value */ min?: number; /** * Callback will always be called when the slider value changes (controlled). */ onChange?: InternalDispatch; /** * Callback will always be called when the slider value changes. * @deprecated since v3.40.0 - use `onChange` instead. */ onValueChange?: InternalDispatch; /** * Flag to show tooltip or not. */ showTooltip?: boolean; /** * Sets stepping interval. */ step?: number; /** * Set tooltip position. */ tooltipPosition?: 'top' | 'bottom'; /** * Set the current value of the slider (controlled). */ value?: number; } declare function Slider({ className, defaultValue, disabled, max, min, onChange, onValueChange, showTooltip, step, tooltipPosition, value, ...otherProps }: IProps): React.JSX.Element; export default Slider;