import { type FC, type ReactNode, type Ref } from 'react'; import type { DateRangeInputProps } from '../types'; /** * `DateRangeInputProps` is a discriminated union, so `interface … extends` * can't widen it — use an intersection type instead. */ type DateRangeProviderProps = DateRangeInputProps & { /** * Compound children — typically `DateRangeStartValue`, `DateRangeSeparator`, * `DateRangeEndValue`, or a custom composition using those + `useDateRangeContext`. */ children: ReactNode; ref?: Ref; }; /** * Context provider for the date range compound API. * * Use this when you need a custom layout around the start/end fields. For * the default integrated rendering, use `DateRangeInput` which wraps this. * * @example * * * * * */ export declare const DateRangeProvider: FC; export {};