import { EventEmitter } from '../../stencil-public-runtime'; /** * An inline date picker component to select a date. * * @part label - The native label element. */ export declare class CatDateInline { private readonly _id; private get id(); private readonly language; private readonly locale; private focusDate; hostElement: HTMLElement; hasSlottedLabel: boolean; hasSlottedHint: boolean; viewDate: Date; /** * Hides the clear button. */ noClear: boolean; /** * A unique identifier for the input. */ identifier?: string; /** * Shows an arrow keys navigation hint. */ hint: boolean; /** * Hides the today button. */ noToday: boolean; /** * Show week numbers. */ weeks: boolean; /** * The label for the input. */ label: string; /** * Visually hide the label, but still show it to assistive technologies like screen readers. */ labelHidden: boolean; /** * A minimum value for the date, given in local ISO 8601 date format YYYY-MM-DD. */ min?: string; /** * A maximum value for the date, given in local ISO 8601 date format YYYY-MM-DD. */ max?: string; /** * Allow the selection of a range of dates, i.e. start and end date. */ range: boolean; /** * A value is required or must be check for the form to be submittable. */ required: boolean; /** * Adds accessible label for the datepicker. The label will be read by * assistive technology upon focusing the datepicker. */ a11yLabel?: string; /** * Whether the label need a marker to shown if the input is required or optional. */ requiredMarker?: 'none' | 'required' | 'optional' | 'none!' | 'optional!' | 'required!'; /** * The value of the control, given in local ISO 8601 date format YYYY-MM-DD. */ value?: string; /** * Emitted when the value is changed. */ catChange: EventEmitter; private get focusedDate(); componentWillLoad(): void; componentWillRender(): void; componentDidRender(): void; onKeyDown(e: KeyboardEvent): void; /** * Select a date in the picker. * * @param date The date to select. */ select(date: Date | null): Promise; /** * Clear the picker. */ clear(): Promise; /** * Resets the view of the picker. */ resetView(): Promise; /** * Programmatically move focus to the inline datepicker, i,e, the first * focusable date. * * @param options An optional object providing options to control aspects of * the focusing process. */ doFocus(options?: FocusOptions): Promise; render(): any; private focus; private navigate; private setAriaLive; private dateGrid; private getLastDaysOfMonth; private getHeadline; private getWeekNumber; private canFocus; private canClick; private getMinMaxDate; private getValue; private toRangeValue; }