import React from 'react'; import dayjs from 'dayjs'; import { UIInputText } from 'components/Input/InputText'; import { IPickerPosition, Picker } from './picker'; interface InputProps { className: string; dataValidate: string; error: boolean; name: string; required?: boolean; value?: string | null; } interface DayPickerProps { classNameProvider?: string; disabled: boolean; futureOnly: boolean; inputProps: InputProps; numberOfMonths: number; onDateChange?: (data?: string) => void; retail?: boolean; showDayPicker?: boolean; timeZoneIdentifier?: string; weekStartsOn?: number; } interface DayPickerState { date?: dayjs.Dayjs; input: { error: string; value: string; }; month?: Date; showDayPicker: boolean; } interface GetInitialDateProps { date?: string | null; timeZoneIdentifier?: string; } export declare class UIDayPicker extends React.Component { dayPickerRef: React.RefObject; inputRef: React.RefObject; static defaultProps: { futureOnly: boolean; disabled: boolean; numberOfMonths: number; showDayPicker: boolean; }; constructor(props: DayPickerProps); getInitialDate: ({ date, timeZoneIdentifier, }: GetInitialDateProps) => dayjs.Dayjs | undefined; showDayPicker: () => void; hideDayPicker: () => void; getInputZIndex: () => number; onChangeInput: (event: React.ChangeEvent) => void; onKeyPressInput: (event: KeyboardEvent) => void; getError: (date: dayjs.Dayjs) => string | null; updateError: (error: string) => void; validateInputValue: (value: string) => void; handleDateChange: () => void; navigateDatePicker: (month: Date) => void; timeZoneValidation: (date: Date) => Date | dayjs.Dayjs; onUpdateDate: (date: Date) => void; getPickerPosition: () => IPickerPosition | null; render(): React.ReactElement; } export {};