import React from "react";
import { Slider as PrimitiveSlider } from "src/primitives/Slider";
import { FieldLabel } from "src/primitives/Field";
type SliderValue = number | number[];
type PrimitiveSliderProps = React.ComponentProps<typeof PrimitiveSlider>;
export interface SliderProps extends Omit<PrimitiveSliderProps, "value" | "defaultValue" | "onValueChange" | "onValueCommit"> {
    /** Current value. Pass a number for a single-thumb slider or an array for a range slider. */
    value?: SliderValue;
    /** Default value (uncontrolled). Shape mirrors `value`. */
    defaultValue?: SliderValue;
    /** Called on every change. Emits a number if `value`/`defaultValue` was a number, an array otherwise. */
    onValueChange?: (value: SliderValue) => void;
    /** Called when the user stops dragging. Emits a number if `value`/`defaultValue` was a number, an array otherwise. */
    onValueCommit?: (value: SliderValue) => void;
    /** Label displayed above the slider. */
    label?: string;
    /** Error message displayed below the slider. */
    error?: string;
    /** Help text displayed below the slider. Accepts string or ReactNode. */
    helpText?: React.ReactNode;
    /** Shows a required indicator next to the label. */
    required?: boolean;
    /** Additional class name for the outermost wrapper. */
    className?: string;
    /** Props forwarded to the FieldLabel element. */
    labelProps?: React.ComponentProps<typeof FieldLabel>;
}
declare const Slider: React.ForwardRefExoticComponent<Omit<SliderProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
export { Slider };
