import React from 'react';
import { NumericMinMaxValue } from '../rangeSlider/RangeSliderWithScale';
import { Facet, RangeSliderWithChartProps } from '../rangeSlider/RangeSliderWithChart';
import { ChangeCallback, PickedNumberInputProps, RangeFilterInputField } from '../rangeFilterInput';
export type ChangeSliderCallback = {
    touched: 'min' | 'max';
    value: NumericMinMaxValue;
};
type ChangeRangeInputWithSliderCallback<Name> = {
    changeType?: 'inputfield' | 'slider';
} & ChangeCallback<Name>;
type RangeSliderProps = {
    facets?: Facet[];
    rangeSliderScale?: number[];
    chartHeight?: RangeSliderWithChartProps['chartHeight'];
} & ({
    facets: Facet[];
    chartHeight?: string;
    rangeSliderScale?: never;
} | {
    rangeSliderScale: number[];
    facets?: never;
    chartHeight?: never;
});
export type Props<NameFrom, NameTo> = {
    from: RangeFilterInputField<NameFrom>;
    onChange: (event: ChangeRangeInputWithSliderCallback<NameFrom | NameTo>) => void;
    onBlur?: (event: ChangeRangeInputWithSliderCallback<NameFrom | NameTo>) => void;
    to: RangeFilterInputField<NameTo>;
    unit?: string;
} & RangeSliderProps & PickedNumberInputProps;
declare function RangeFilterInputWithSlider<NameFrom extends string, NameTo extends string>({ rangeSliderScale, facets, unit, onChange, from, to, chartHeight, ...rest }: Props<NameFrom, NameTo>): React.JSX.Element;
export default RangeFilterInputWithSlider;
//# sourceMappingURL=index.d.ts.map