import { DateType } from '@mezzanine-ui/core/calendar'; import { DateTimePickerProps } from '../DateTimePicker'; export type DateTimeRangePickerValue = [ DateType | undefined, DateType | undefined ]; export interface DateTimeRangePickerProps extends Omit { /** * CSS class name for the host element. */ className?: string; /** * The direction of the two date-time pickers. * @default 'row' */ direction?: 'row' | 'column'; /** * Change handler for the range value. * Called when either from or to value changes. */ onChange?: (value: DateTimeRangePickerValue) => void; /** * Current value of date-time range picker. * Array of [from, to] where each can be a DateType or undefined. */ value?: DateTimeRangePickerValue; } /** * The react component for `mezzanine` date-time range picker. * This component combines two DateTimePicker components for selecting a date-time range. * Notice that any component related to date-time picker should be used along with `CalendarContext`. */ declare const DateTimeRangePicker: import("react").ForwardRefExoticComponent>; export default DateTimeRangePicker;