/** * This code is inspired by the work of [sandra-lewis](https://codesandbox.io/u/sandra-lewis) */ export declare type SliderProps = { /** * The minimum value of the slider. */ min: number; /** * The maximum value of the slider. */ max: number; /** * ID to find this component in testing tools (e.g.: cypress, testing library, and jest). * * @default 'store-slider' */ testId?: string; /** * Callback that fires when the slider value changes. */ onChange?: (value: { min: number; max: number; }) => void; /** * Set a human-readable name for the slider. */ ariaLabel?: string; /** * A function used to set a human-readable value text based on the slider's current value. */ getAriaValueText?(value: number, thumb?: 'min' | 'max'): string; /** * Returns the value of element's class content attribute. */ className?: string; }; declare const Slider: ({ min, max, onChange, testId, ariaLabel, getAriaValueText, className, }: SliderProps) => JSX.Element; export default Slider;