import { type DateValue } from '@internationalized/date'; import React from 'react'; import type { TestIdProp } from '../../../types'; import { type CalendarProps, type CalendarTextContent } from '../../Calendar/Calendar'; import type { PopoverTextContent } from '../../Popover/Popover'; import type { CommonSelectorProps } from '../types'; export type DateFieldTextContent = Record & CalendarTextContent & PopoverTextContent; export interface DateFieldProps extends CommonSelectorProps, TestIdProp { /** * Calendar props passed through to the react-aria hook */ calendarOptions?: CalendarProps['calendarOptions']; /** * Allow date in the past */ allowPastDate?: boolean; /** * Minimum selectable date (ISO YYYY-MM-DD) */ min?: string; /** * Maximum selectable date (ISO YYYY-MM-DD) */ max?: string; /** * Text values for localization */ lang?: Partial; } declare const defaultEnglish: { readonly dateLabel: "date"; readonly select: "select"; }; /** * DateField is a sub-component for selecting a date with a Calendar popup. * Presently, this component is primarily used within the DateTimeInput. */ export declare const DateField: React.ForwardRefExoticComponent>; export {}; //# sourceMappingURL=DateField.d.ts.map