import * as React from "react"; import { ReactNode } from "react"; import { HeadingVariant } from "@stenajs-webui/core"; import { ValueAndOnValueChangeProps } from "@stenajs-webui/forms"; import { TravelCalendarSizeVariant } from "../../../features/travel-calendar/components/TravelCalendar"; import { DateTextInputVariant, TravelDateRangeInputValue, RenderTravelDateContent } from "../../../features/travel-calendar/types"; import { SupportedLocaleCode } from "../../../features/localize-date-format/LocaleMapper"; import { VisibleMonthState } from "../../../features/travel-calendar/hooks/UseVisibleMonthState"; export interface RenderBelowCalendarArgs { hideCalendar: () => void; } export interface TravelDateRangeInputProps extends ValueAndOnValueChangeProps, VisibleMonthState { localeCode?: SupportedLocaleCode; languageLocaleCode?: SupportedLocaleCode; startDateLabel?: string; endDateLabel?: string; previousMonthButtonAriaLabel?: string; nextMonthButtonAriaLabel?: string; heading?: string; headingLevel?: HeadingVariant; firstMonthInMonthPicker?: Date; numMonthsInMonthPicker?: number; isDateDisabled?: (date: Date) => boolean; /** * Renders the content of each date in the calendar, in place of the day * number. The cell around it, with the selection, focus and keyboard * navigation, stays the calendar's. See RenderTravelDateContent. */ renderDateContent?: RenderTravelDateContent; prevMonthDisabled?: (visibleMonth: Date) => boolean; nextMonthDisabled?: (visibleMonth: Date) => boolean; zIndex?: number; zIndexWhenClosed?: number; onHideCalendar?: () => void; renderBelowCalendar?: (args: RenderBelowCalendarArgs) => ReactNode; size?: TravelCalendarSizeVariant; dateTestId?: (date: Date) => string | undefined; previousMonthButtonTestId?: string; nextMonthButtonTestId?: string; placeholderWhenBlurredStartDate?: string; placeholderWhenBlurredEndDate?: string; textInputVariant?: DateTextInputVariant; autoFocusStartDate?: boolean; autoFocusEndDate?: boolean; } export declare const TravelDateRangeInput: React.FC;