import React from 'react'; import { DateValue } from '@react-types/calendar'; import { AriaDatePickerProps } from 'react-aria'; import { DatePickerState } from 'react-stately'; import { LabelledProps } from '../Labelled'; export type DatePickerProps = { /** Label for the field */ label: string; /** Error to display beneath the label */ error?: any; /** Adds an action to the label */ labelAction?: LabelledProps['action']; /** Visually hide the label */ labelHidden?: boolean; /** Visual required indicator, add an asterisk to label */ requiredIndicator?: boolean; /** Additional text to aide in use */ helpText?: React.ReactNode; /** Default Value */ defaultValue?: DateValue | null; /** onChange callback */ onChange?: (value: DateValue | null) => void; } & (DatePickerState | AriaDatePickerProps); declare const MonthPicker: ({ error, labelAction, labelHidden, helpText, requiredIndicator, ref, ...props }: DatePickerProps & { ref?: any; }) => import("react/jsx-runtime").JSX.Element; export { MonthPicker };