import type { DateRangeContextValue } from './types'; /** * Access the nearest `DateRangeProvider` context. * * Throws when called outside a `DateRangeProvider` — this is a compound * component contract, so a missing provider is a programmer error, not a * recoverable state. Sub-components like `DateRangeStartValue` rely on this * to avoid silently rendering nothing. * * @example * const CustomRangeBody = () => { * const { state, startFieldProps, endFieldProps } = useDateRangeContext(); * // ... * }; */ export declare const useDateRangeContext: () => DateRangeContextValue;