import * as React from "react"; import "./DateField.scss"; export type Months = [string, string, string, string, string, string, string, string, string, string, string, string]; export type Days = [string, string, string, string, string, string, string]; declare enum DateType { Month = 0, Year = 1 } declare enum Direction { Next = 1, Prev = -1 } interface IProps { disabled?: boolean; value?: Date; months: Months; days: Days; onChange: (date: Date) => void; noShadow?: boolean; error?: boolean; } interface IState { isOpenCalendar: boolean; showedDate: Date; dateString: string; } export declare class DateField extends React.Component { wrapper: HTMLElement; constructor(props: IProps); componentDidMount(): void; componentWillUnmount(): void; handleWrapperRef: (ref: HTMLDivElement) => HTMLDivElement; handleClickOutside: (event: MouseEvent) => void; handleOpen: () => void; handleChangeCurrentMonth: (direction: Direction) => () => void; handleSelectDate: (type: DateType) => (event: React.ChangeEvent) => void; changeActiveDate: (year: number, month: number, date: number) => () => void; handleKeyDown: (evt: React.KeyboardEvent) => void; handleChange: (evt: React.ChangeEvent) => void; render(): JSX.Element; } export {};