import React, { HTMLProps, PropsWithRef } from 'react'; import { WeekStartDay } from './types'; import './styles.css'; export declare type DatePickerProps = { /** * This function is called when the selected date is changed. */ onChange: (date: Date) => void; /** * The selected date. */ value: Date; /** * The minimum date that can be selected (inclusive). * Default is 1st January 1900 */ minDate?: Date; /** * The maximum date that can be selected (inclusive). * Default is 100 years from now */ maxDate?: Date; /** * Week starts from which day */ weekStartsFrom?: WeekStartDay; /** * If the DatePicker is disabled */ disabled?: boolean; } & PropsWithRef, 'onChange' | 'selected' | 'options' | 'value' | 'type' | 'name' | 'disabled'>>; /** * DatePicker component to pick dates */ declare const DatePicker: React.ForwardRefExoticComponent & React.RefAttributes>; export default DatePicker;