import '@alifd/next/lib/date-picker2/style'; import '@alifd/next/lib/message/style'; import '@alifd/next/lib/select/style'; import 'dayjs/locale/zh-cn'; import { type FC } from 'react'; import './index.scss'; import type { IDataSource } from './types'; interface IProps { dataSource: IDataSource[]; value: { dateType: string; startDate: string; endDate: string; }; changeValue: any; dateOffset?: number; prefix?: { show?: boolean; name?: string; direction?: 'left' | 'top'; hasColon?: boolean; customClass?: string; }; select?: { customClass?: string; customStyle?: object; }; selectProps?: object; datePicker?: { customClass?: string; customStyle?: object; hasClear?: boolean; }; datePickerProps?: object; searchResetGroup?: { show?: boolean; searchName?: string; resetName?: string; customClass?: string; customStyle?: object; showSearchIcon?: boolean; showResetIcon?: boolean; onSearch?: () => void; onReset?: () => void; }; onSearch: (v: { dateType: string; startDate: string; endDate: string; }) => void; onReset?: () => void; } declare const DateSelector: FC; export default DateSelector;