import React from 'react'; import type { DateCalendar, DateSegment, DateSegmentLabels, DateValue } from '../date/types'; export type DateFieldProps = { label: string; value?: DateValue | null; defaultValue?: DateValue | null; onValueChange?: (value: DateValue | null) => void; minValue?: DateValue; maxValue?: DateValue; isDateUnavailable?: (value: DateValue) => boolean; locale?: string; calendar?: DateCalendar; segmentLabels?: DateSegmentLabels; showClearButton?: boolean; clearButtonLabel?: string; hideLabel?: boolean; helperText?: string; error?: string; disabled?: boolean; readOnly?: boolean; required?: boolean; name?: string; id?: string; className?: string; style?: React.CSSProperties; controlClassName?: string; controlStyle?: React.CSSProperties; }; export type DateFieldControlProps = Omit & { inputId: string; labelId: string; describedBy?: string; hasConsumerError: boolean; endAdornment?: React.ReactNode; onSegmentKeyDown?: (segment: DateSegment, event: React.KeyboardEvent) => void; }; type DateFieldControlComponent = React.ForwardRefExoticComponent & React.RefAttributes>; export declare const DateFieldControl: DateFieldControlComponent; type DateFieldComponent = React.ForwardRefExoticComponent & React.RefAttributes>; declare const DateField: DateFieldComponent; export default DateField; //# sourceMappingURL=index.d.ts.map