import { jsx as _jsx } from "react/jsx-runtime";
import { createContext, useContext } from "react";
var datepickerContextDefaultValue = {
    rtl: !1,
    focusedDate: null,
    isDateFocused: function () {
      return !1;
    },
    isDateSelected: function () {
      return !1;
    },
    isDateHovered: function () {
      return !1;
    },
    isDateBlocked: function () {
      return !1;
    },
    isFirstOrLastSelectedDate: function () {
      return !1;
    },
    onDateFocus: function () {},
    onDateHover: function () {},
    onDateSelect: function () {},
    onDayRender: void 0,
    goToPreviousMonthsByOneMonth: function () {},
    goToPreviousMonths: function () {},
    goToNextMonthsByOneMonth: function () {},
    goToNextMonths: function () {},
    goToPreviousYear: function () {},
    goToNextYear: function () {}
  },
  DatepickerContext = /* @__PURE__ */createContext(datepickerContextDefaultValue),
  DatepickerProvider = function (param) {
    var {
      children,
      ...value
    } = param;
    return /* @__PURE__ */_jsx(DatepickerContext.Provider, {
      value,
      children
    });
  },
  useDatepickerContext = function () {
    return useContext(DatepickerContext);
  };
export { DatepickerProvider, datepickerContextDefaultValue, useDatepickerContext };
//# sourceMappingURL=DatePickerProvider.native.js.map
