import { ParsableDate } from '../constants/prop-types'; import { AllSharedPickerProps } from '../Picker/SharedPickerProps'; import { ExportedDateRangePickerInputProps } from './DateRangePickerInput'; export type RangeInput = [ParsableDate, ParsableDate]; export type DateRange = [TDate | null, TDate | null]; export type AllSharedDateRangePickerProps = Omit< AllSharedPickerProps, DateRange>, 'renderInput' | 'orientation' > & ExportedDateRangePickerInputProps; export interface CurrentlySelectingRangeEndProps { currentlySelectingRangeEnd: 'start' | 'end'; setCurrentlySelectingRangeEnd: (newSelectingEnd: 'start' | 'end') => void; }