import React from 'react'; import { SliderPosition } from '../../../types/Slider'; import Track from '../Track'; declare type Props = { clearable?: boolean; prefix?: string; suffix?: string; label?: string; disabled?: boolean; maxValue: number; minValue: number; onChange?: Function; onChangeComplete?: Function; step?: number; decimalPlaces?: number; value: { min: number; max: number; }; }; declare type State = { input: { min: { error: boolean; value: string | null; }; max: { error: boolean; value: string | null; }; }; }; export default class MultiSlider extends React.Component { node: HTMLDivElement | null; trackNode: Track | null; isDragging: { min: boolean; max: boolean; }; dragValue: { min: number; max: number; }; static defaultProps: { step: number; decimalPlaces: number; onChange: () => void; onChangeComplete: () => void; clearable: boolean; prefix: any; suffix: any; label: any; disabled: boolean; }; constructor(props: Props); handleRef: (node: HTMLDivElement) => void; handleTrackRef: (node: Track) => void; getTrackClientRect: () => ClientRect; handleOnChange: (value: number | { min: number; max: number; }, type: 'min' | 'max' | 'both', complete?: boolean) => void; handleDragValueChange: (value: number, type: 'min' | 'max' | 'both') => void; clear: () => void; handleTrackMouseDown: (event: MouseEvent, position: SliderPosition) => void; handleTrainDrag: (type: 'min' | 'max') => (event: MouseEvent) => void; handleTrainRelease: (type: 'min' | 'max') => (event: MouseEvent) => void; handleInputFocus: (event: React.KeyboardEvent) => void; handleInputChange: (type: 'min' | 'max') => (valueString: string) => void; handleInputBlur: (type: 'min' | 'max') => () => void; handleInputKeyPress: (type: 'min' | 'max') => (event: React.KeyboardEvent) => void; handleInputChangeMax: (valueString: string) => void; handleInputChangeMin: (valueString: string) => void; handleInputBlurMax: () => void; handleInputBlurMin: () => void; handleInputKeyPressMax: (event: React.KeyboardEvent) => void; handleInputKeyPressMin: (event: React.KeyboardEvent) => void; handleTrainDragMax: (event: MouseEvent) => void; handleTrainDragMin: (event: MouseEvent) => void; handleTrainReleaseMax: (event: MouseEvent) => void; handleTrainReleaseMin: (event: MouseEvent) => void; render(): JSX.Element; } export {};