import React from 'react'; import { Moment } from 'moment-timezone'; export declare type CompatibleDateValue = Moment | string | number; export declare const DatePickerContext: React.Context; export declare function elementContains(parent: EventTarget & HTMLElement, child: EventTarget & HTMLElement): any; export declare function DateDisplay({ value, active, onSelect }: { value: CompatibleDateValue; active: boolean; onSelect: (active: boolean) => void; }): JSX.Element; export default function DatePicker({ date, focused, anchor, floating, arrowLeftDisabled, arrowRightDisabled, numberOfMonths, onChange, onFocusChange, isOutsideRange, }: { date: CompatibleDateValue; focused?: boolean; anchor?: 'ANCHOR_LEFT' | 'ANCHOR_RIGHT'; floating?: boolean; arrowLeftDisabled?: boolean; arrowRightDisabled?: boolean; numberOfMonths?: 1 | 2; onChange: (date: CompatibleDateValue) => void; onFocusChange: (focused: boolean) => void; isOutsideRange?: (date: CompatibleDateValue) => boolean; }): JSX.Element;