import * as React from 'react'; import type { DatepickerProps, InputRole } from './types'; import DateHelpers from './utils/date-helpers'; import type { Locale } from '../locale'; import type { ChangeEvent } from 'react'; export declare const DEFAULT_DATE_FORMAT = "yyyy/MM/dd"; type DatepickerState = { calendarFocused: boolean; isOpen: boolean; selectedInput: InputRole | undefined | null; isPseudoFocused: boolean; lastActiveElm: HTMLElement | undefined | null; inputValue?: string; ariaDescribedby: string | null; }; export default class Datepicker extends React.Component, DatepickerState> { static defaultProps: { 'aria-describedby': any; value: any; formatString: string; adapter: import("./utils/types").DateIOAdapter; }; calendar: HTMLElement | undefined | null; dateHelpers: DateHelpers; constructor(props: DatepickerProps); componentDidMount(): void; handleChange: (a: T | undefined | null | Array) => void; onCalendarSelect: (a: { readonly date: T | undefined | null | Array; }) => void; getNullDatePlaceholder(formatString: string): string; formatDate(date: T | undefined | null | Array, formatString: string): string; formatDisplayValue: (a: T | undefined | null | Array) => string; open: (inputRole?: InputRole) => void; close: () => void; handleEsc: () => void; handleInputBlur: () => void; getMask: () => string; handleInputChange: (event: ChangeEvent, inputRole?: InputRole) => void; handleKeyDown: (event: KeyboardEvent) => void; focusCalendar: () => void; normalizeDashes: (inputValue: string) => string; generateAriaDescribedByIds: () => string; isComposedRangePicker: () => boolean; hasLockedBehavior: () => boolean; componentDidUpdate(prevProps: DatepickerProps): void; getPlaceholder: () => string; renderInputComponent(locale: Locale, inputRole?: InputRole): React.JSX.Element; render(): React.JSX.Element; } export {};