import { type Locale } from "date-fns";
import React from "react";
import type { MonthPickerProps } from "./MonthPicker.types.js";
type MonthPickerProviderProps = Pick<MonthPickerProps, "dropdownCaption" | "disabled" | "selected" | "defaultSelected" | "onMonthSelect" | "year" | "onYearChange" | "fromDate" | "toDate"> & {
    children: React.ReactNode;
    locale: Locale;
};
type MonthPickerContextProps = {
    caption: "label" | "dropdown";
    year: Date;
    onYearChange: (year: Date) => void;
    selected: MonthPickerProps["selected"];
    onMonthSelect: MonthPickerProps["onMonthSelect"];
    disabled: NonNullable<MonthPickerProps["disabled"]>;
    locale: Locale;
    fromDate?: MonthPickerProps["fromDate"];
    toDate?: MonthPickerProps["toDate"];
};
declare const useMonthPickerContext: <S extends boolean = true>(strict?: S | undefined, errorMessageOverride?: string) => S extends true ? MonthPickerContextProps : MonthPickerContextProps | undefined;
declare const MonthPickerProvider: ({ children, disabled, year, onYearChange, fromDate, toDate, selected, defaultSelected, onMonthSelect, dropdownCaption, locale, }: MonthPickerProviderProps) => React.JSX.Element;
export { MonthPickerProvider, useMonthPickerContext };
