import dayjs from "dayjs"; import React from "react"; import { Configs, Period } from "../types"; type DateRange = { startDate: string | Date | null; endDate: string | Date | null; } | null; interface DatepickerStore { asSingle?: boolean; primaryColor: string; configs?: Configs | null; calendarContainer: React.RefObject | null; arrowContainer: React.RefObject | null; hideDatepicker: () => void; 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: DateRange) => void; showFooter?: boolean; placeholder?: string | null; separator?: string; i18n: string; value: DateRange; disabled?: boolean; inputClassName?: string | null; containerClassName?: string | null; readOnly?: boolean; displayFormat?: string; } declare const DatepickerContext: React.Context; export default DatepickerContext;