import { ReactElement, ReactNode } from 'react'; import * as SliderPrimitive from '@radix-ui/react-slider'; export interface ControlRangeProps extends Omit { id: string; onChange: (value: Array, id: string) => void; value?: Array; label?: string | ReactNode; optional?: boolean; aside?: ReactNode; tooltip?: boolean; validationError?: ReactNode; themeControlRange?: string; themeControlRangeActive?: string; themeControlTrack?: string; themeControlThumb?: string; themeControlWrapper?: string; themeLabel?: string; themeTooltipColoring?: 'light' | 'dark' | 'warning' | 'error'; } declare function ControlRange({ id, onChange, value, label, optional, aside, tooltip, validationError, themeControlRange, themeControlRangeActive, themeControlTrack, themeControlThumb, themeControlWrapper, themeLabel, themeTooltipColoring, ...props }: ControlRangeProps): ReactElement; declare namespace ControlRange { var propTypes: { /** Identifying value for input element. */ id: any; /** Called during changes to the input element. */ onChange: any; /** Accepts an array of numbers, where each number matches a draggable thumb. */ value: any; /** Value passed to the label element. Value can be string or ReactNode. */ label: any; /** If provided the text, "(optional)" is appended to the value of the label element. */ optional: any; /** Additional content inserted alongside the label element. */ aside: any; /** Provide a tooltip for visual feedback on a range thumb value. */ tooltip: any; /** If provided, the value of this propery displays as an error message. */ validationError: any; /** Assembly classes to apply to the range element */ themeControlRange: any; /** Assembly classes to apply to the active part of the range track */ themeControlRangeActive: any; /** Assembly classes to apply to the track element */ themeControlTrack: any; /** Assembly classes to apply to the thumb element */ themeControlThumb: any; /** Assembly classes to apply to the control wrapper */ themeControlWrapper: any; /** Assembly classes to apply to the label element */ themeLabel: any; /** `'light'`, `'dark'`, `'warning'`, or `'error'`. */ themeTooltipColoring: any; }; } export default ControlRange;