/**
* Shared constants and utilities for DateCalendar, DateRangeCalendar,
* DatePicker, and DateRangePicker.
*/
import type React from "react";
import type { Matcher } from "react-day-picker";
/** Fallback year range for the month/year dropdown when no min/max is provided. */
export declare const DEFAULT_FROM_YEAR: number;
export declare const DEFAULT_TO_YEAR: number;
/**
* Builds the `disabled` matcher array for react-day-picker from optional
* min/max date constraints. Dates before min or after max are disabled.
*/
export declare function buildDisabledMatchers(min: Date | undefined, max: Date | undefined): Matcher[];
/**
* Stable click handler that stops event propagation. Used on date inputs
* inside Popover.Trigger to prevent the trigger's click handler from
* toggling the popover closed when the user clicks the already-open input.
*/
export declare const stopPropagation: (e: React.MouseEvent) => void;
