import { ValueAndOnValueChangeProps } from "@stenajs-webui/forms"; import * as React from "react"; import { DateRangeInputCalendarProps } from "../../calendar-types/date-range-calendar/DateRangeCalendar"; import { CalendarTheme } from "../../calendar/CalendarTheme"; import { OptionalMinMaxDatesAsString } from "../../../types/CalendarTypes"; import { DateRange } from "../../../types/DateRange"; export interface DateRangeInputProps extends OptionalMinMaxDatesAsString, ValueAndOnValueChangeProps { /** * The date format in the input field. See date-fns docs. * @default YYYY-MM-dd */ displayFormat?: string; /** * Placeholder for start date field when no date has been selected. * @default Start date */ placeholderStartDate?: string; /** * Placeholder for end date field when no date has been selected. * @default End date */ placeholderEndDate?: string; /** * Width of the input element. * * @default 125px */ width?: string; /** * The calendar theme to use. */ calendarTheme?: CalendarTheme; /** Props to be passed to DateRangeCalendar, see DateRangeCalendar. */ calendarProps?: DateRangeInputCalendarProps; /** * Disables the Popover and both TextInputs. */ disabled?: boolean; /** * Portal target, HTML element. If not set, window.body is used. */ portalTarget?: HTMLElement; zIndex?: number; } /** * @deprecated Please use DateRangeDualTextInput instead. */ export declare function DateRangeInput({ displayFormat, placeholderStartDate, placeholderEndDate, value, onValueChange, width, calendarTheme, calendarProps, minDate, maxDate, disabled, portalTarget, zIndex, }: DateRangeInputProps): React.ReactElement>;