import type { ComponentPropsWithoutRef, ReactNode } from 'react'; import type { SxProp } from '../Layout/sx.cjs'; export interface SliderProps extends Omit, 'defaultValue' | 'dir' | 'onChange'> { /** Controlled value (one entry per thumb). */ value?: number[]; /** Uncontrolled initial value (one entry per thumb). */ defaultValue?: number[]; /** Fires continuously as the value changes. */ onValueChange?: (value: number[]) => void; /** Fires when the user finishes dragging. */ onValueCommit?: (value: number[]) => void; /** Minimum value. Default: 0. */ min?: number; /** Maximum value. Default: 100. */ max?: number; /** Step increment. Default: 1. */ step?: number; /** Minimum steps allowed between two thumbs. */ minStepsBetweenThumbs?: number; /** Orientation. Default: `horizontal`. */ orientation?: 'horizontal' | 'vertical'; /** Disable the slider. */ disabled?: boolean; /** Reading direction. */ dir?: 'ltr' | 'rtl'; /** Name for form submission. */ name?: string; size?: 'sm' | 'md' | 'lg'; color?: 'primary' | 'success' | 'warning' | 'danger'; /** Show inline value bubble above the active thumb on hover/focus. */ showValue?: boolean; /** Show a value tooltip above the thumb while dragging (or keyboard-focused). */ showValueTooltip?: boolean; /** Format value for the bubble. Default: `String(v)`. */ formatValue?: (v: number) => ReactNode; /** * One-off CSS, same as `Box`'s `sx`: each value may be a scalar or a * responsive breakpoint map (`{ base, sm, md, lg, xl }`). Scalar-only sx * merges into inline style; responsive sx injects a scoped class. */ sx?: SxProp; } /** * Slider — single or range value picker. Pass an array length 1 for single, * length 2 for range. Built on @radix-ui/react-slider. */ export declare const Slider: import("react").ForwardRefExoticComponent>;