import React from 'react'; import { SupportedWixLocales } from '@wix/design-systems-locale-utils'; import { WixStyleReactEnvironmentContext } from '../../WixStyleReactEnvironmentProvider/context'; import { DateInputProps } from './DateInput.types'; type ValidationType = 'valid' | 'formatError' | 'outOfBoundsError'; type DateInputState = { validationType: ValidationType; inputValue: string; statusMessage?: string; }; declare class DateInput extends React.PureComponent { static displayName: string; static contextType: React.Context; context: React.ContextType; constructor(props: DateInputProps); componentDidMount(): void; componentDidUpdate(prevProps: DateInputProps): void; _getFormattedDate: (value?: Date | string) => string; _handleBlur: () => void; _handleChange: (event: React.ChangeEvent) => void; _handleValidation: (date: { parsedDate?: Date | null; dateFormat: string; }) => void; _handleClear: (event: React.MouseEvent | React.KeyboardEvent) => void; _handleKeyDown: (event: React.KeyboardEvent) => void; _getLocale(): SupportedWixLocales; render(): React.JSX.Element; } export { DateInput }; //# sourceMappingURL=DateInput.d.ts.map