import React from "react"; import type { CalendarDisplay, CalendarSlotProps } from "./Calendar"; export type DatePickerPopoverProps = { /** Ref to the element that triggers the calendar (e.g. the calendar icon button). */ triggerRef: React.RefObject; /** Whether the calendar popover is open. */ isVisible: boolean; /** Called when the popover opens or closes. */ onVisibilityChange: (visible: boolean, reason: string) => void; /** Currently selected date (or null). Used as initial view and selected state in the calendar. */ value: Date | null; /** Called when the user selects a date. */ onSelect: (date: Date) => void; /** Display config derived by root (format/locale, week layout). */ calendarDisplay: CalendarDisplay; /** Id for the calendar region (used for aria-controls from the trigger button). */ id: string; /** Year options for the calendar dropdown. Provided by root. */ years: number[]; /** Optional test id for the calendar content. */ "data-e2e-test-id"?: string; /** Slot props for Calendar. */ calendarSlotProps: CalendarSlotProps; }; export declare function DatePickerPopover({ triggerRef, isVisible, onVisibilityChange, value, onSelect, calendarDisplay, id, years, calendarSlotProps, "data-e2e-test-id": dataE2eTestId, }: DatePickerPopoverProps): React.ReactElement;