import { DateType } from '@mezzanine-ui/core/calendar'; import { MultipleDatePickerValue } from '@mezzanine-ui/core/multiple-date-picker'; import { CalendarProps } from '../Calendar'; import { CalendarFooterActionsProps } from '../Calendar/CalendarFooterActions'; import { InputTriggerPopperProps } from '../_internal/InputTriggerPopper'; import { MultipleDatePickerTriggerProps } from './MultipleDatePickerTrigger'; export interface MultipleDatePickerProps extends Pick, Pick { /** * Custom action button props. Allows overriding confirm/cancel button text and behavior. */ actions?: Partial; /** * Other calendar props you may provide to `Calendar`. */ calendarProps?: Omit; /** * The format for displaying date in tags. * @default 'YYYY-MM-DD' */ format?: string; /** * Maximum number of dates that can be selected. */ maxSelections?: number; /** * A function that fires when calendar toggle. */ onCalendarToggle?: (open: boolean) => void; /** * Change handler. Called when user confirms the selection. */ onChange?: (value: MultipleDatePickerValue) => void; /** * Placeholder text when no dates are selected. */ placeholder?: string; /** * Other props you may provide to `Popper` component. */ popperProps?: Omit; /** * The reference date for getting calendars. Default to current time. */ referenceDate?: DateType; /** * Whether the input is required. * @default false */ required?: boolean; /** * Controlled value - array of selected dates. * @default [] */ value?: MultipleDatePickerValue; } /** * The react component for `mezzanine` multiple date picker. * Allows selecting multiple dates from a calendar with manual confirmation. * Notice that any component related to date-picker should be used along with `CalendarContext`. */ declare const MultipleDatePicker: import("react").ForwardRefExoticComponent>; export default MultipleDatePicker;