import type { DateValue } from "react-aria-components";
interface YearPickerContextValue {
    isYearPickerOpen: boolean;
    setIsYearPickerOpen: (open: boolean) => void;
    calendarRef: React.RefObject<HTMLDivElement | null>;
    calendarGridSlot: "calendar-grid" | "range-calendar-grid";
}
interface YearPickerStateContextValue {
    focusedDate: DateValue;
    setFocusedDate: (value: DateValue) => void;
    timeZone: string;
    minValue?: DateValue | null;
    maxValue?: DateValue | null;
}
declare const YearPickerContext: import("react").Context<YearPickerContextValue | null>;
declare const YearPickerStateContext: import("react").Context<YearPickerStateContextValue | null>;
/**
 * Hook to consume YearPickerContext.
 * Must be used inside Calendar or RangeCalendar.
 */
declare function useYearPicker(): YearPickerContextValue;
/**
 * Hook to consume normalized calendar state used by YearPicker.
 * Must be provided by Calendar or RangeCalendar root via adapter bridge.
 */
declare function useYearPickerState(): YearPickerStateContextValue;
export { YearPickerContext, YearPickerStateContext, useYearPicker, useYearPickerState };
export type { YearPickerContextValue, YearPickerStateContextValue };
