import React from 'react'; import { DatePicker } from 'antd'; import { RangeDateText } from '../text/component'; type RangesKey = 'week' | 'month' | 'year'; type RangesConfig = (RangesKey | { title?: string; key: RangesKey; })[]; type RangePickerProps = React.ComponentProps & { rangesConfig: RangesConfig; }; type IFiledDatePicker = React.FC & { Text?: typeof RangeDateText; }; declare const RangePicker: IFiledDatePicker; export { RangePicker };