import type React from 'react'; import type { DateLikeProps } from './types'; export interface DateInputProps extends DateLikeProps { /** * The earliest date/time to accept, in the `yyyy-mm-dd` format. */ min?: string; /** * The latest date/time to accept, in the `yyyy-mm-dd` format. */ max?: string; /** * What type of information to autocomplete in the input. */ autoComplete?: string; /** * Default value of an uncontrolled input. */ defaultValue?: string; /** * Value of the input. * * Makes the input controlled. */ value?: string; /** * Fires when the input’s value is changed. */ onChange?: React.ChangeEventHandler; } /** * Lets the users select a date from the native calendar dropdown. * Should be used when it is helpful for the user to see what weekday a selected date is. * * When entering a well known date (such as a birth date), prefer a TextInput with a date pattern. */ export declare const DateInput: React.ForwardRefExoticComponent>; export declare const DateLikeInput: React.ForwardRefExoticComponent>;