///
import { CalendarProps, DatePickerProps } from 'react-multi-date-picker';
import { InputComponent } from '../Input/types';
import { SidebarOptionProps } from '../Calendar/CalendarComponents';
export declare namespace IDatepicker {
type ClockType = 'am' | 'pm';
enum ClockTypeEnum {
am = "am",
pm = "pm"
}
type Props = CalendarProps & DatePickerProps & {
range?: boolean;
numberOfMonths?: number;
label?: string;
placeholder?: string;
required?: boolean;
errorMessage?: string;
calendarRef?: any;
inputProps?: InputComponent.Props;
dateFormat?: string;
showTime?: boolean;
dateTimeRange?: DateRangeType;
onChangeDateTime?: (time: DateRangeType, option: string) => void;
projectDuration?: DateRangeType;
showSideBar?: boolean;
sidebarOptions?: Omit[];
selectedSidebarOption?: string;
timezone?: string;
};
enum DatpickerNavigationDirectionEnum {
right = "right",
left = "left"
}
type InputChangeEvent = React.ChangeEvent;
type DatpickerNavigationDirection = keyof typeof DatpickerNavigationDirectionEnum;
type DateRangeType = {
startDate: string;
endDate: string;
};
type TimeRangeType = {
from: {
hour: string;
minute: string;
clockType: ClockType;
};
to: {
hour: string;
minute: string;
clockType: ClockType;
};
};
type DateTimeRangeType = {
dateRange: DateRangeType;
timeRange: TimeRangeType;
};
}