import { EventEmitter } from "../../stencil-public-runtime"; import { StzhChipselectChangeEvent, StzhChipselectItem, StzhLocaleComponent } from "../../index"; /** * @slot - Slot for `stzh-checkbox` elements * @slot description - Slot for description * @slot description-long - Slot for long description (in popover) * @slot error - Slot for error */ export declare class StzhChipselect { /** Translation strings */ localization: StzhLocaleComponent; /** The list of chips */ data: string | StzhChipselectItem[]; private _data; private _dataDropdown; /** The name of the input element */ name: string; /** Label */ label: string; /** Whether label is hidden. */ labelHidden: boolean; /** Multiple */ multiple: boolean; /** Value */ value: string | string[]; private _value; /** Default value (used by reset) */ defaultValue: string | string[]; /** Description message (use description slot as alternative) */ description: string; /** Long description message appearing in a popover (use description-long slot as alternative) */ descriptionLong: string; /** One or multiple error message (use error slot as alternative) */ error: string | string[]; private _error; /** Invalid status */ invalid: boolean; /** Required status */ required: boolean; /** Whether all chips are disabled or not */ disabled: boolean; /** Hide `(optional)` label (or use `required` inside form to hide it) */ hideOptional: boolean; /** Whether chips are shown as dropdown on mobile devices */ dropdownOnMobile: boolean; /** Id for element which describes the input (this will be overwritten if description prop or slot is used, used by stzh-radiogroup) */ a11yDescribedby: string; activeFocusOptionIndex: number; isMobile: boolean; element: HTMLStzhChipselectElement; /** Change event */ stzhChange: EventEmitter; private readonly uid; private renderPromiseResolve; private mediaQuery?; private skipNextValueRender; resetListener(event: Event): void; valueWatcher(newValue: string[] | string): void; dataWatcher(newValue: StzhChipselectItem[] | string): void; errorWatcher(newValue: string | string[]): void; componentShouldUpdate(_newValue: any, _oldValue: any, propName: string): boolean; private waitForNextRender; private handleReset; private handleMediaQueryChange; private get useDropdownOnMobile(); private handleChipClick; private handleDropdownChange; private handleKeydown; componentDidRender(): void; componentWillLoad(): Promise; componentDidLoad(): void; disconnectedCallback(): void; render(): any; }