import { EventEmitter } from '../../stencil-public-runtime'; import { IxDatePickerComponent } from '../date-picker/date-picker-component'; import type { DateTimeDateChangeEvent, DateTimeSelectEvent } from './datetime-picker.types'; export declare class DatetimePicker implements Omit { /** * If true, disables date range selection (from/to). */ singleSelection: boolean; /** * The earliest date that can be selected. * If not set there will be no restriction. */ minDate?: string; /** * The latest date that can be selected. * If not set there will be no restriction. */ maxDate?: string; /** * Date format string. * See {@link https://moment.github.io/luxon/#/formatting?id=table-of-tokens} for all available tokens. */ dateFormat: string; /** * Time format string. * See {@link https://moment.github.io/luxon/#/formatting?id=table-of-tokens} for all available tokens. */ timeFormat: string; /** * The selected starting date. If the picker is not in range mode, this is the selected date. * Format has to match the `dateFormat` property. */ from?: string; /** * The selected end date. If the picker is not in range mode, this property has no impact. * Format has to match the `dateFormat` property. */ to?: string; /** * Selected time value for the embedded time picker. * Format has to match the `timeFormat` property. */ time?: string; /** * Show AM/PM time reference control. */ showTimeReference: boolean; /** * Time reference (AM or PM). */ timeReference?: 'AM' | 'PM'; /** * Text of the date select button. */ i18nDone: string; /** * Top label of the time picker. * * @since 3.0.0 */ i18nTime: string; /** * ARIA label for the previous month icon button. * Will be set as aria-label on the nested HTML button element. */ ariaLabelPreviousMonthButton?: string; /** * ARIA label for the next month icon button. * Will be set as aria-label on the nested HTML button element. */ ariaLabelNextMonthButton?: string; /** * The index of which day to start the week on, based on the Locale#weekdays array. * E.g. if the locale is en-us, weekStartIndex = 1 results in starting the week on Monday. */ weekStartIndex: number; /** * Locale identifier (e.g. 'en' or 'de'). * See {@link https://moment.github.io/luxon/#/formatting?id=table-of-tokens} for all available tokens. */ locale?: string; /** * Shows week numbers displayed on the left side of the date picker. * * @since 3.0.0 */ showWeekNumbers: boolean; /** * Time change event. Emitted when the time changes in the embedded time picker. */ timeChange: EventEmitter; /** * Date change event. Emitted when the date changes in the embedded date picker. */ dateChange: EventEmitter; /** * Datetime selection event. Emitted when the user confirms the selection. */ dateSelect: EventEmitter; private datePickerElement?; private timePickerElement?; private onDone; private onDateChange; private onTimeChange; render(): any; }