export default CalendarPanel; declare class CalendarPanel extends React.Component { static displayName: string; static propTypes: { /** Applies a data-hook HTML attribute that can be used in the tests */ dataHook: PropTypes.Requireable; /** Specifies a CSS class name to be appended to the component’s root element */ className: PropTypes.Requireable; /** Defines a callback function which is called whenever the user selects a day or a date range in the calendar */ onChange: PropTypes.Validator<(...args: any[]) => any>; /** Defines a callback function which is called whenever user press `escape` or click outside of the element */ onClose: PropTypes.Requireable<(...args: any[]) => any>; /** Specifies whether past dates should be selectable or not */ excludePastDates: PropTypes.Requireable; /** Specifies dates that are selectable. Only the dates that match defined criteria will be available for a user to select. */ filterDate: PropTypes.Requireable<(...args: any[]) => any>; /** Defines a selected date or date range */ value: PropTypes.Requireable>; to: PropTypes.Requireable>; }> | null | undefined>>; /** Specifies if user can select a single day or a date range */ selectionMode: PropTypes.Requireable; /** Specifies whether to display a year selection dropdown inside of a calendar */ showYearDropdown: PropTypes.Requireable; /** Specifies whether to display a month selection dropdown inside of a calendar */ showMonthDropdown: PropTypes.Requireable; /** Specifies whether calendar should close on a day selection */ shouldCloseOnSelect: PropTypes.Requireable; /** Specifies date picker instance locale */ locale: PropTypes.Requireable; formatDistance: PropTypes.Requireable<(...args: any[]) => any>; formatRelative: PropTypes.Requireable<(...args: any[]) => any>; localize: PropTypes.Requireable; formatLong: PropTypes.Requireable; match: PropTypes.Requireable; options: PropTypes.Requireable; }> | null | undefined>>; /** Defines a number of months to display inside of a panel */ numOfMonths: PropTypes.Requireable; /** Defines an array of predefined calendar presets that are displayed as select items on the left side of a panel */ presets: PropTypes.Requireable; /** Renders a panel footer. Pass `` in all common cases. `({selectedDays, submitDisabled}) => void` - `selectedDays` is the same as the CalendarPanel's `value` prop. `submitDisabled` is true when the current selectedDays is not valida for submission. */ footer: PropTypes.Requireable<(...args: any[]) => any>; }; static defaultProps: { numOfMonths: number; }; constructor(props: any); constructor(props: any, context: any); onSelectPreset: (preset: any) => void; getSelectedPresetId(): any; isSubmitDisabled(): boolean; render(): React.JSX.Element; } import React from 'react'; import PropTypes from 'prop-types'; //# sourceMappingURL=CalendarPanel.d.ts.map