import { EventEmitter } from "../../stencil-public-runtime"; import { StzhCheckboxChangeEvent, StzhCheckboxgroupChangeEvent, 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 StzhCheckboxgroup { /** Translation strings */ localization: StzhLocaleComponent; /** Whether the element is disabled or not */ disabled: boolean; /** The name of the input checkbox elements */ name: string; /** The legend */ legend: string; /** Hide legend to show only for screenreaders */ hideLegend: boolean; /** Invalid status */ invalid: boolean; /** Required status */ required: boolean; /** Hide `(optional)` label */ hideOptional: boolean; /** The selected values of the checkboxgroup */ value: string[] | string; private _value; /** Default value (used by reset) */ defaultValue: string[]; /** The indeterminate values of the checkboxgroup */ indeterminate: string[] | string; private _indeterminate; /** Default indeterminate values (used by reset) */ defaultIndeterminate: string[]; /** Direction */ direction: "vertical" | "horizontal"; /** 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; /** Current checked checkbox elements (readonly) */ checkedCheckbox: HTMLStzhCheckboxElement[] | null; /** Prevent updating certain properties of radio elements (possible values inside array: disabled, invalid) */ preventUpdateProperties: string[] | string; private _preventUpdateProperties; /** Host element */ element: HTMLElement; watchName(newValue: string): void; watchDisabled(newValue: boolean): void; watchValue(newValue: string[] | string): void; errorWatcher(newValue: string | string[]): void; watchIndeterminate(newValue: string[] | string): void; preventUpdatePropertiesWatcher(newValue: string[] | string): void; /** Change event */ stzhChange: EventEmitter; resetListener(event: Event): void; onChange(event: CustomEvent): void; private get errorUsed(); /** Checkbox elements */ private checkboxes; private readonly uid; private observer; private updateCheckboxesProperty; private updateCheckedCheckboxByValue; private handleReset; private init; componentWillLoad(): Promise; componentShouldUpdate(_newValue: any, _oldValue: any, prop: string): boolean; componentDidRender(): void; componentDidLoad(): void; connectedCallback(): void; disconnectedCallback(): void; render(): any; }