/// import { ComponentClass, ReactNode } from 'react'; import { PassTroughFunction } from '../../utils/getPassThrough'; import { FocusedInput, DateRange } from './types'; import { MonthType } from './Month'; export interface RangePickerProps { children: ReactNode; focusedInput: FocusedInput; highlighted?: DateRange; onChange(date: DateRange): void; onFocusedInputChange(focus?: FocusedInput): void; onHighlightedChange(date: DateRange): void; resetToWhenFromChanges: boolean; selected?: DateRange; } export interface RangePickerArgs { MonthsWrapper: ComponentClass; Month: MonthType; passthrough: PassTroughFunction; } export declare type RangePickerType = ComponentClass; export default function rangePickerFactory({MonthsWrapper, Month, passthrough}: RangePickerArgs): RangePickerType;