///
import { DateRange, PropsBase } from 'react-day-picker';
import { InputProps } from '../input/input';
import { PopoverContentProps } from '../popover/popover';
import { type CalendarPropsExtended } from './calendar';
type RangePickerCalendarSlot = Omit & CalendarPropsExtended;
interface RangePickerSlotProps {
startInput?: InputProps;
endInput?: InputProps;
calendar?: RangePickerCalendarSlot;
popover?: PopoverContentProps;
}
interface RangePickerProps {
dateFormat?: string;
/**
* Props for each picker slot. When both this and the legacy
* `inputsProps`/`calendarProps`/`popoverProps` are set, `slotProps` wins.
*/
slotProps?: RangePickerSlotProps;
/** @deprecated Use `slotProps.startInput` / `slotProps.endInput` instead. */
inputsProps?: {
startDate?: InputProps;
endDate?: InputProps;
};
/** @deprecated Use `slotProps.calendar` instead. */
calendarProps?: RangePickerCalendarSlot;
/** @deprecated Use `slotProps.popover` instead. */
popoverProps?: PopoverContentProps;
onSelect?: (date: DateRange) => void;
pickerGroupClassName?: string;
value?: DateRange;
defaultValue?: DateRange;
children?: React.ReactNode | ((props: {
startDate: string;
endDate: string;
}) => React.ReactNode);
showCalendarIcon?: boolean;
footer?: React.ReactNode;
timeZone?: string;
}
export declare function RangePicker({ dateFormat, slotProps, inputsProps: legacyInputsProps, calendarProps: legacyCalendarProps, popoverProps: legacyPopoverProps, onSelect, value, defaultValue, pickerGroupClassName, children, showCalendarIcon, footer, timeZone }: RangePickerProps): import("react/jsx-runtime").JSX.Element;
export declare namespace RangePicker {
var displayName: string;
}
export {};
//# sourceMappingURL=range-picker.d.ts.map