import { Cell } from 'cellx'; import { BaseComponent, IDisposableListening } from 'rionite'; import { formatDate } from './formatDate'; import './index.css'; import { parseDate } from './parseDate'; export { formatDate }; export { parseDate }; export interface IDay { date: string; value: number; weekDay: string; today: boolean; selected: boolean; notInCurrentMonth: boolean; disabled: boolean; tabIndex: number | null; } export declare type TWeekDays = Array; export declare type TDays = Array; export declare function getTodayDate(): Date; export declare function fromDate(this: OpalCalendar): Date; export declare function toDate(this: OpalCalendar): Date; export declare class OpalCalendar extends BaseComponent { paramFromDate: string; paramToDate: string; paramValue: string; paramDateDelimiter: string; weekDays: Array; weekDaysShort: Array; fromDate: Date; toDate: Date; readonly fromYear: number; readonly toYear: number; readonly years: Array; stringValueCell: Cell; stringValue: string | null; readonly value: Date | null; shownYear: number; shownMonth: number; readonly btnPrevMonthDisabled: boolean; readonly btnNextMonthDisabled: boolean; days: TDays; _currentlyDateSelection: boolean; _documentKeyDownListening: IDisposableListening | null | undefined; initialize(): void; elementAttached(): void; _onDaysFocus(evt: Event): void; _onDaysBlur(): void; _onDocumentKeyDown(evt: KeyboardEvent): void; _click(dayEl: HTMLElement): void; }