import type { DateRangePickerProps, DateRangePickerTimeRange } from "../DatePicker"; import type { InputProps } from "../Input"; export type DateRangeInputValue = DateRangePickerTimeRange | null; export type DateRangeInputLocale = { tooltip?: (open: boolean) => string; }; export interface DateRangeInputProps extends Omit { /** * Defines the default value of the `DateRangeInput`. */ defaultValue?: DateRangeInputValue; /** * Defines the value of the `DateRangeInput`. */ value?: DateRangeInputValue; /** * Defines the function to call when the `DateRangeInput` value changes. */ onChange?: (value: DateRangeInputValue) => void; /** * Defines the format of the `DateRangeInput` value. * @default "MM/dd/yyyy" */ valueFormat?: string; /** * Defines the separator of the `DateRangeInput` value. * @default "/" */ segmentSeparator?: string; /** * Defines the range separator (between start and end date) of the `DateRangeInput` value. * @default " - " */ rangeSeparator?: string; /** * Defines the locale of the `DateRangeInput`. */ locale?: DateRangeInputLocale; /** * Defines the props to pass to the `DateRangePicker`. */ dateRangePickerProps?: Omit; } /** * The `DateRangeInput` component provides a date range input field with an integrated date range picker. * It allows the user to either enter a date range manually or select a start and end date from a calendar interface. * * See the [DateRangeInput documentation page](https://satellite.algolia.com/8261d6576/p/62aeda-date-range-input) for more information. */ export declare const DateRangeInput: import("react").ForwardRefExoticComponent>;