import dayjs from "dayjs"; import React from "react"; import { Configs, Period, DateValueType, DateType, DateRangeType, ClassNamesTypeProp, PopoverDirectionType, ColorKeys } from "../types"; interface DatepickerStore { input?: React.RefObject; asSingle?: boolean; minDays: number; primaryColor: ColorKeys; configs?: Configs; calendarContainer: React.RefObject | null; arrowContainer: React.RefObject | null; hideDatepicker: () => void; onOpen: (() => void) | undefined; onClose: (() => void) | undefined; period: Period; changePeriod: (period: Period) => void; dayHover: string | null; changeDayHover: (day: string | null) => void; inputText: string; changeInputText: (text: string) => void; updateFirstDate: (date: dayjs.Dayjs) => void; changeDatepickerValue: (value: DateValueType, e?: HTMLInputElement | null | undefined) => void; showFooter?: boolean; placeholder?: string | null; separator: string; i18n: string; value: DateValueType; disabled?: boolean; inputClassName?: ((className: string) => string) | string | null; containerClassName?: ((className: string) => string) | string | null; toggleClassName?: ((className: string) => string) | string | null; toggleIcon?: (open: boolean) => React.ReactNode; readOnly?: boolean; startWeekOn?: string | null; displayFormat: string; minDate?: DateType | null; maxDate?: DateType | null; dateLooking?: "forward" | "backward" | "middle"; disabledDates?: DateRangeType[] | null; disabledCheckins: string[]; disabledCheckouts: string[]; inputId?: string; inputName?: string; classNames?: ClassNamesTypeProp; popoverDirection?: PopoverDirectionType; sticky: boolean; } declare const DatepickerContext: React.Context; export default DatepickerContext;