import React from 'react'; import { Moment } from 'moment'; import { DateRangePickerShape, FocusedInputShape } from 'react-dates'; import 'react-dates/initialize'; import 'react-dates/lib/css/_datepicker.css'; import { Period } from '../../models/Period'; import { TextFieldProps } from '../TextField'; import { Style } from './DateRangePicker.style'; export declare type FocusedInput = FocusedInputShape; declare type DateRangePickerWrapperProps = Omit & { startDate?: Moment; endDate?: Moment; inputRef?: React.RefObject; onDatesChange: (dates: Period) => void; focusedInput?: FocusedInput; onFocusChange?: (focusedInput: FocusedInput) => void; }; export declare type DateRangePickerProps = { startDate: string; endDate: string; } & Style & Pick & Partial> & Pick; declare const _default: React.ComponentType, "id" | "children" | "label" | "fullWidth" | "required" | "onFocusChange" | "regular" | "anchorDirection" | "openDirection" | "appendToBody" | "isOutsideRange" | "startDate" | "endDate" | "focusedInput" | "onDatesChange" | "minimumNights"> & import("@material-ui/core/styles/withStyles").StyledComponentProps<"outlined" | "textField" | "@global">>; export default _default; //# sourceMappingURL=DateRangePicker.d.ts.map