import { Accessibility } from '@fluentui/accessibility'; import { ICalendarStrings, IDatepickerOptions } from '@fluentui/date-time-utilities'; import { ComponentWithAs } from '@fluentui/react-bindings'; import { ComponentEventHandler, FluentComponentStaticProps, ShorthandValue } from '../../types'; import { UIComponentProps } from '../../utils'; import { Input, InputProps } from '../Input/Input'; import { PopupProps } from '../Popup/Popup'; import { DatepickerCalendar, DatepickerCalendarProps } from './DatepickerCalendar'; import { DatepickerCalendarCell } from './DatepickerCalendarCell'; import { DatepickerCalendarHeader } from './DatepickerCalendarHeader'; import { DatepickerCalendarHeaderAction } from './DatepickerCalendarHeaderAction'; import { DatepickerCalendarHeaderCell } from './DatepickerCalendarHeaderCell'; export interface DatepickerProps extends UIComponentProps, Partial, Partial { /** Accessibility behavior if overridden by the user. */ accessibility?: Accessibility; /** Shorthand for the datepicker calendar. */ calendar?: ShorthandValue; /** Shorthand for the datepicker popup. */ popup?: ShorthandValue; /** Shorthand for the date text input. */ input?: ShorthandValue; /** Datepicker shows it is currently unable to be interacted with. */ disabled?: boolean; /** Datepicker shows it is currently unable to be interacted with. */ required?: boolean; /** * Called on change of the date. * * @param event - React's original SyntheticEvent. * @param data - All props and proposed value. */ onDateChange?: ComponentEventHandler; /** Text placeholder for the input field. */ placeholder?: string; /** Target dates can be also entered through the input field. */ allowManualInput?: boolean; /** Should calendar be initially opened or closed. */ defaultCalendarOpenState?: boolean; } export declare type DatepickerStylesProps = never; export declare const datepickerClassName = "ui-datepicker"; /** * A Datepicker is used to display dates. * This component is currently UNSTABLE! */ export declare const Datepicker: ComponentWithAs<'div', DatepickerProps> & FluentComponentStaticProps & { Calendar: typeof DatepickerCalendar; CalendarHeader: typeof DatepickerCalendarHeader; CalendarHeaderAction: typeof DatepickerCalendarHeaderAction; CalendarHeaderCell: typeof DatepickerCalendarHeaderCell; CalendarCell: typeof DatepickerCalendarCell; Input: typeof Input; };