import React from 'react'; import PropTypes from 'prop-types'; import { ComponentProps } from '../utils/types'; type DateGridChangeHandler = (event: React.MouseEvent | React.KeyboardEvent, data: { value: string; }) => void; interface DateGridPropsBase { displayValue: string; highlightToday?: boolean; labelledBy?: string; locale?: string; onChange?: DateGridChangeHandler; onInternalChange?: DateGridChangeHandler; selectedValue: string; todayValue?: string; } type DateGridProps = ComponentProps; declare function DateGrid({ displayValue, highlightToday, labelledBy, locale, onChange, onInternalChange, selectedValue, todayValue, ...otherProps }: DateGridProps): React.JSX.Element; declare namespace DateGrid { var propTypes: { displayValue: PropTypes.Validator; highlightToday: PropTypes.Requireable; labelledBy: PropTypes.Requireable; locale: PropTypes.Requireable; onChange: PropTypes.Requireable<(...args: any[]) => any>; onInternalChange: PropTypes.Requireable<(...args: any[]) => any>; selectedValue: PropTypes.Validator; todayValue: PropTypes.Requireable; }; } export default DateGrid; export { DateGridChangeHandler };