import type { DatePickerProps } from "../../Fields/DatePicker"; import type { InputProps } from "../../Fields/Input"; export type DateInputValue = Date | null; export type DateInputLocale = { tooltip?: (open: boolean) => string; }; export interface DateInputProps extends Omit { /** * Defines the default value of the `DateInput`. */ defaultValue?: DateInputValue; /** * Defines the value of the `DateInput`. */ value?: DateInputValue; /** * Defines the function to call when the `DateInput` value changes. */ onChange?: (value: DateInputValue) => void; /** * Defines the format of the `DateInput` value. * @default "MM/dd/yyyy" */ valueFormat?: string; /** * Defines the separator of the `DateInput` value. * @default "/" */ separator?: string; /** * Defines the locale of the `DateInput`. */ locale?: DateInputLocale; /** * Defines the props to pass to the `DatePicker`. */ datePickerProps?: Omit; } /** * The `DateInput` component provides a date input field with an integrated date picker. * It allows users to either type a date manually or select one from a calendar interface. * * See the [DateInput documentation page](https://satellite.algolia.com/8261d6576/p/65f65f-date-input) for more information. */ export declare const DateInput: import("react").ForwardRefExoticComponent>;