import { type FC, type HTMLAttributes, type Ref } from 'react'; import type { AriaDatePickerProps, DateValue } from '@react-types/datepicker'; export interface DateRangeSegmentGroupProps extends AriaDatePickerProps { type: 'start' | 'end'; /** Called when partial value presence changes (any editable segment is filled). */ onHasPartialValueChange?: (hasPartialValue: boolean) => void; ref?: Ref; /** * Consumer HTML attributes (e.g. `data-analytics-id`, `data-analytics-props`, * `data-testid`, `aria-*`, `id`) that land on the field's wrapper `
`. * Provides the per-field analytics seam used by `DateRangeStartValue` and * `DateRangeEndValue` in the compound API. */ wrapperHtmlProps?: HTMLAttributes & { 'data-testid'?: string; 'data-analytics-id'?: string; 'data-analytics-props'?: string; }; } export declare const DateRangeSegmentGroup: FC;