import React from 'react';
import { NumberInputProps } from '@chakra-ui/react';
export type RangeFilterInputField<Name> = {
    name: Name;
    value?: number | null;
    placeholder?: string;
    ariaLabel?: string;
};
export type ChangeCallback<Name> = {
    value?: number | null;
    name: Name;
};
export type PickedNumberInputProps = Pick<NumberInputProps, 'min' | 'max' | 'isDisabled' | 'onFocus'>;
type RangeFilterInputProps<NameFrom, NameTo> = {
    from: RangeFilterInputField<NameFrom>;
    handleChange: (event: ChangeCallback<NameFrom | NameTo>) => void;
    onBlur?: (event: ChangeCallback<NameFrom | NameTo>) => void;
    to: RangeFilterInputField<NameTo>;
    unit?: string;
} & PickedNumberInputProps;
declare function RangeFilterInput<NameFrom extends string, NameTo extends string>({ from, to, handleChange, unit, onBlur, ...rest }: RangeFilterInputProps<NameFrom, NameTo>): React.JSX.Element;
export default RangeFilterInput;
//# sourceMappingURL=index.d.ts.map