import { ComponentInterface, EventEmitter } from '../../stencil-public-runtime'; import type { DatePickerChangeDetail, DatePickerDay, DatePickerDisplayFormat, DatePickerMode, DatePickerNavigationAction, DatePickerSelectedMonthYear } from "../../utils/date-picker/date-picker-types"; /** * @name Date Calendar * @category Forms * @summary Use for selecting dates from a standalone calendar. */ export declare class Q2DateCalendar implements ComponentInterface { dayAbbrStrings: string[]; dayStrings: string[]; hostElement: HTMLElement; activeDate: Date; rangeDraftEnd: Date; rangeDraftStart: Date; rangeError: string; rangeHoverDate: Date; selectedMonthYear: DatePickerSelectedMonthYear; /** Accessible calendar dialog label. */ accessibleLabel: string; /** Uses the action-sheet calendar presentation. */ actionSheet: boolean; /** Accessible and visible calendar label. */ calendarLabel: string; /** Specifies a time of day after which a date is no longer valid. */ cutoffTime: string; /** Defines valid days of the week using calendar checksum values. */ daysOfWeekChecksum: number; /** Controls whether navigation appears above or below the date grid. */ direction: 'up' | 'down'; /** Disables calendar interaction. */ disabled: boolean; /** Localized disclaimer content. */ disclaimer: string; /** Controls the date format used in range summaries. */ displayFormat?: DatePickerDisplayFormat; /** Defines the last selectable date. */ endDate: string; /** Defines an explicit date blacklist using ISO date strings. */ invalidDates: string[]; /** Formats calendar and range labels using the provided locale. */ locale: string | string[]; /** Selects single-date or range calendar behavior. */ mode: DatePickerMode; /** Indicates that a new calendar session has opened. */ open: boolean; /** The committed range end as an ISO date string. */ rangeEnd: string; /** The committed range start as an ISO date string. */ rangeStart: string; /** Prevents calendar selection while retaining calendar visibility. */ readonly: boolean; /** Defines the first selectable date. */ startDate: string; /** Defines an explicit date whitelist using ISO date strings. */ validDates: string[]; /** The committed single date as an ISO date string. */ value: string; /** Emitted when the user cancels range selection. */ tctCalendarCancel: EventEmitter; /** Emitted when the user commits a single date or date range. */ tctCalendarCommit: EventEmitter; /** Emitted when the calendar asks its container to dismiss it. */ tctCalendarDismiss: EventEmitter; /** Emitted when range confirmation validation changes. */ tctCalendarError: EventEmitter; /** Emitted with the committed date or range for standalone consumers and framework models. */ tctChange: EventEmitter; connectedCallback(): void; focusHandler(event: CustomEvent<{ value?: string; }>): void; /** Moves the visible month to the provided date and focuses that day. */ focusDate(value: string | Date): Promise; /** Selects the provided date when it satisfies the calendar constraints. */ setValue(value: string | Date): Promise; constraintsChanged(): void; modeChanged(): void; openChanged(open: boolean): void; rangeChanged(): void; valueChanged(): void; get constraints(): { cutoffTime: string; daysOfWeekChecksum: number; endDate: string; invalidDates: string[]; startDate: string; validDates: string[]; }; get currentWeeks(): DatePickerDay[][]; get dateList(): DatePickerDay[]; get isRangeMode(): boolean; get normalizedDisplayFormat(): DatePickerDisplayFormat; get rangeConfirmDisabled(): boolean; get rangeEndDate(): Date | undefined; get rangeSummary(): string; get rangeValidationError(): string; get rovingDate(): Date; get selectedDate(): Date | undefined; get title(): string; activateDate(date: Date): void; emitCommit(detail: DatePickerChangeDetail): void; findValidNavigationDate(date: Date, direction: 1 | -1): Date | undefined; focusRenderedDate(date: Date): void; formatRangeDate(date: Date): string; goToMonthYear(monthIndex: number, selectedYear: number): void; isDateValid(date: Date): boolean; isRangeValid(start: Date, end: Date): boolean; onDateHover: (event: MouseEvent) => void; onDateHoverEnd: () => void; onDateKeydown: (event: KeyboardEvent) => void; onDateSelection: (event: MouseEvent) => void; onNavigate(action: DatePickerNavigationAction): void; onRangeCancel: () => void; onRangeCommit: () => void; resetCalendarSession(): void; resetRangeDraft(): void; selectDate(selectedDate: Date): void; setRangeError(error: string): void; renderNavigation(): any[]; renderNavigationButton(action: DatePickerNavigationAction): any; render(): any; }