export default class CalendarWidget extends InputWidget { static get defaultSettings(): { type: string; altInput: boolean; allowInput: boolean; clickOpens: boolean; enableDate: boolean; enableTime: boolean; mode: string; noCalendar: boolean; format: string; dateFormat: string; useLocaleSettings: boolean; language: string; hourIncrement: number; minuteIncrement: number; time_24hr: boolean; saveAs: string; displayInTimezone: string; timezone: string; disable: never[]; minDate: string; maxDate: string; }; zoneLoading: boolean; timezonesUrl: string; /** * Load the timezones. * @returns {boolean} TRUE if the zones are loading, FALSE otherwise. */ loadZones(): boolean; attach(input: any): Promise; defaultFormat: { date: string; time: string; } | undefined; closedOn: number | undefined; valueFormat: any; valueMomentFormat: string | undefined; get disableWeekends(): (date: any) => boolean; get disableWeekdays(): (date: any) => boolean; get disableFunction(): (date: any) => any; get timezone(): any; get defaultSettings(): { type: string; altInput: boolean; allowInput: boolean; clickOpens: boolean; enableDate: boolean; enableTime: boolean; mode: string; noCalendar: boolean; format: string; dateFormat: string; useLocaleSettings: boolean; language: string; hourIncrement: number; minuteIncrement: number; time_24hr: boolean; saveAs: string; displayInTimezone: string; timezone: string; disable: never[]; minDate: string; maxDate: string; }; addSuffix(suffix: any): any; get disabledDates(): any; get localeFormat(): string; get dateTimeFormat(): string; get dateFormat(): any; /** * Return the date value as a string. * @param {string|Date} date - The date object or a date string that is momentjs compatible. * @param {string} format - The DateParser code format. * @param {boolean} [useTimezone] - If the timezone should be used. * @returns {string} - Returns the formatted date string. */ getDateValue(date: string | Date, format: string, useTimezone?: boolean | undefined): string; isValueISO8601(value: any): any; /** * Set the selected date value. * @param {*} value - The value to set. * @returns {void} */ setValue(value: any): void; getValueAsString(value: any, format?: string): string; setErrorClasses(hasErrors: any): void; isCalendarElement(element: any): any; initFlatpickr(Flatpickr: any): void; calendar: any; changeHandler: ((e: any) => void) | null | undefined; initShortcutButtonsPlugin(ShortcutButtonsPlugin: any): void; get componentValue(): any; getFlatpickrFormatDate(Flatpickr: any): (date: any, format: any) => any; } import InputWidget from './InputWidget';