import { EventEmitter } from "../../stencil-public-runtime"; import { StzhDropdownChangeEvent, StzhMonthyearpickerChangeEvent } from "../../index"; import { StzhMonthyearpickerLocalizedText } from "./stzh-monthyearpicker.localization"; export declare class StzhMonthyearpicker { /** Initial open state of month dropdown */ monthOpen: boolean; /** Initial open state of year dropdown */ yearOpen: boolean; /** Set which months to show (overwrites months from min/max) */ months: number[] | string; private _months; /** Set which years to show (overwrites years from min/max) */ years: number[] | string; private _years; /** Sort direction */ yearSortDirection: "asc" | "desc"; /** * Minimum month and year allowed to be picked in `YYYY-MM` format. * This setting can be used alone or together with the `max` property. */ min: string; /** * Maximum month and year allowed to be picked in `YYYY-MM` format. * This setting can be used alone or together with the `min` property. */ max: string; /** * Minimum year (will be overwritten if `min` is used). * This setting can be used alone or together with the `maxYear` property. */ minYear: number; /** * Maximum year (will be overwritten if `max` is used). * This setting can be used alone or together with the `minYear` property. */ maxYear: number; /** Picker format. */ format: "default" | "creditcard"; /** Name of the hidden date picker input. */ name: string; /** Value of hidden input (current selected year and month YYYY-MM). */ value: string; /** Popover placement for the dropdown (if applicable) */ popoverPlacement: "bottom" | "bottom-end" | "bottom-center" | "top" | "top-end" | "top-center"; /** Month dropdown label */ monthLabel: string; /** Year dropdown label */ yearLabel: string; /** Whether the element is readonly or not */ readonly: boolean; /** Whether the element is disabled or not */ disabled: boolean; /** Required status */ required: boolean; /** Hide `(optional)` label (or use `required` inside form to hide it) */ hideOptional: boolean; /** Size variant */ size: "default" | "small"; /** Description message for month */ descriptionMonth: string; /** Description message for year */ descriptionYear: string; /** Long description message appearing in a popover for month */ descriptionLongMonth: string; /** Long description message appearing in a popover for year */ descriptionLongYear: string; /** One or multiple error message for month */ errorMonth: string | string[]; /** One or multiple error message for year */ errorYear: string | string[]; /** Invalid status for month */ invalidMonth: boolean; /** Invalid status for year */ invalidYear: boolean; /** Id of the element which describes the month dropdown */ a11yDescribedbyMonth: string; /** Id of the element which describes the year dropdown */ a11yDescribedbyYear: string; /** Translation strings. */ localization: StzhMonthyearpickerLocalizedText; /** Monthyearpicker change event */ stzhChange: EventEmitter; element: HTMLStzhMonthyearpickerElement; monthsWatcher(newValue: number[] | string): void; yearsWatcher(newValue: number[] | string): void; minMaxWatcher(): void; onDropdownChange(event: CustomEvent): void; private monthsDropdown; private dropdownMonthOptions; private dropdownYearOptions; private onRootFocus; private onMonthsDropdownChange; private onYearsDropdownChange; private onChange; private updateMonthOptions; private initializeYears; private updateYearOptions; componentWillLoad(): Promise; render(): any; }