import type {PickerViewProps} from '../picker-view/picker-view' import {FunctionComponent} from 'react' import {dayjs} from '@antmjs/utils' export interface DatetimePickerViewProps extends Omit< PickerViewProps, | 'pickerData' | 'value' | 'defaultValue' | 'needSelectedAll' | 'cascade' | 'cols' | 'pickerIndex' | 'onSelected' | 'onConfirm' > { value?: dayjs.Dayjs defaultValue?: dayjs.Dayjs type?: 'date' | 'datetime' unit?: boolean min?: dayjs.Dayjs max?: dayjs.Dayjs second?: boolean day?: boolean onSelected?: (data: dayjs.Dayjs) => void onConfirm?: (data: dayjs.Dayjs) => void } declare const DatetimePickerView: FunctionComponent export {DatetimePickerView}