import React, { Component } from 'react'; type NumberRangeValue = { from: string; to: string; }; type Props = { /** Set field disabled */ disabled?: boolean; name: string; /** Is fired when field loses focus */ onBlur?: (newValue: NumberRangeValue, event: React.SyntheticEvent) => void; /** * Is fired when field value changes * * @param {Object} value New value */ onChange: (newValue: NumberRangeValue, event?: React.SyntheticEvent) => void; /** Is fired when field attains focus */ onFocus?: (event: React.FocusEvent) => void; /** Force usage of positive numbers only (disallow '-') */ onlyPositive?: boolean; /** Field value */ value?: NumberRangeValue; }; type State = { backEndValue: NumberRangeValue; value: NumberRangeValue; }; /** Use `WrappedNumberRange` to turn into `form group` with `label`. */ export declare class NumberRange extends Component { static defaultProps: { disabled: boolean; onlyPositive: boolean; value: { from: string; to: string; }; }; state: { value: NumberRangeValue; backEndValue: { from: string; to: string; }; }; componentWillMount(): void; componentWillReceiveProps(newProps: Props): void; handleBlur: (value: string, event: React.SyntheticEvent, field: 'from' | 'to') => void; handleFromBlur: (from: string, event: React.SyntheticEvent) => void; handleToBlur: (to: string, event: React.SyntheticEvent) => void; handleChange: (field: 'from' | 'to', newValue?: string, event?: React.SyntheticEvent) => void; handleFromChange: (from?: string, event?: React.SyntheticEvent) => void; handleToChange: (to?: string, event?: React.SyntheticEvent) => void; render(): import("react/jsx-runtime").JSX.Element; } export declare const WrappedNumberRange: (props: import("../formField").FormFieldProps) => import("react/jsx-runtime").JSX.Element; export {};