import * as react_jsx_runtime from 'react/jsx-runtime'; import { ReactNode } from 'react'; import { Locale } from 'date-fns/locale'; import { DateRange } from 'react-day-picker'; type DatePickerSize = 's' | 'm' | 'l'; type DatePickerShowTime = boolean | { format: 'HH:mm' | 'HH:mm:ss'; }; interface DatePickerInputProps { ref: React.Ref; type: 'text'; inputMode: 'numeric'; className: string; value: string; placeholder: string | undefined; disabled: boolean; onChange: React.ChangeEventHandler; onKeyDown: React.KeyboardEventHandler; onPaste: React.ClipboardEventHandler; onFocus: React.FocusEventHandler; onBlur: React.FocusEventHandler; 'aria-label': string; 'aria-expanded': boolean | undefined; 'aria-haspopup': 'dialog' | undefined; 'aria-invalid': true | undefined; } interface DatePickerProps { value?: Date; defaultValue?: Date; onChange?: (date: Date | undefined) => void; label?: string; placeholder?: string; fromDate?: Date; toDate?: Date; disabled?: boolean; failed?: boolean; loading?: boolean; size?: DatePickerSize; noCalendar?: boolean; showTime?: DatePickerShowTime; icon?: ReactNode | false; iconPosition?: 'start' | 'end'; className?: string; renderInput?: (props: DatePickerInputProps) => ReactNode; customTrigger?: (value: string, onClick: () => void) => ReactNode; locale?: Locale; dateFormat?: string; } declare function DatePicker({ value, defaultValue, onChange, label, placeholder, fromDate, toDate, disabled, failed, loading, size, noCalendar, showTime, icon, iconPosition, className, renderInput, customTrigger, locale, dateFormat: dateFormatProp, }: DatePickerProps): react_jsx_runtime.JSX.Element; type DateRangePickerSize = 's' | 'm' | 'l'; type DateRangePickerCalendarLayout = 'vertical' | 'horizontal'; interface DateRangePickerProps { value?: DateRange; defaultValue?: DateRange; onChange?: (range: DateRange | undefined) => void; label?: string; fromDate?: Date; toDate?: Date; disabled?: boolean; failed?: boolean; loading?: boolean; size?: DateRangePickerSize; calendarLayout?: DateRangePickerCalendarLayout; showTime?: DatePickerShowTime; icon?: ReactNode | false; iconPosition?: 'start' | 'end'; className?: string; locale?: Locale; dateFormat?: string; } declare function DateRangePicker({ value, defaultValue, onChange, label, fromDate: fromConstraint, toDate: toConstraint, disabled, failed, loading, size, calendarLayout, showTime, icon, iconPosition, className, locale, dateFormat: dateFormatProp, }: DateRangePickerProps): react_jsx_runtime.JSX.Element; export { DatePicker as D, type DatePickerInputProps as a, type DatePickerProps as b, type DatePickerShowTime as c, DateRangePicker as d, type DateRangePickerProps as e };