import { PropertyValueMap } from "lit"; import SgdsIcon from "../Icon/sgds-icon"; import FormControlElement from "../../base/form-control-element"; declare const SgdsCheckboxGroup_base: (new (...args: any[]) => import("../../utils/validatorMixin").ToBeValidatedElementInterface) & typeof FormControlElement; /** * @summary CheckboxGroup is a form component for multiselection of checkboxes. * * @event sgds-change - Emitted when the value of the CheckboxGroup changes. This happens when checkboxes are checked or unchecked. * * @slot default - Pass in `sgds-checkbox` into the default slot * @slot invalidIcon - The slot for invalid icon * */ export declare class SgdsCheckboxGroup extends SgdsCheckboxGroup_base { static styles: import("lit").CSSResult[]; /**@internal */ static dependencies: { "sgds-icon": typeof SgdsIcon; }; /** The checkbox group's label */ label: string; /**Feedback text for error state when validated */ invalidFeedback: string; /** Allows invalidFeedback, invalid styles to be visible. When SgdsCheckboxGroup is used, it overrides the value of hasFeedback on SgdsCheckbox with its own value. */ hasFeedback: boolean; /** The checkbox group's hint text */ hintText: string; /** Makes the checkbox group a required field. Only available for when multiselect is true */ required: boolean; /** Consolidates the values of its child checked checkboxes into a single string with semi-colon delimiter. Only available when required is true */ value: string; private _isTouched; defaultValue: string; private _blurredCheckboxes; private formEvent; connectedCallback(): void; firstUpdated(changedProperties: PropertyValueMap): void; protected _renderHintText(): import("lit").TemplateResult<1>; private _checkboxes; private _addValue; private _removeValue; private _sanitizeSlot; private _disabledChildCheckboxes; _handleValueChange(): void; _handleIsTouched(): void; _updateInvalid(): void; /** * Checks for validity. Under the hood, HTMLFormElement's reportValidity method calls this method to check for component's validity state * Note that the native error popup is prevented for SGDS form components by default. Instead the validation message shows up in the feedback container of SgdsInput */ reportValidity(): boolean; /** * Checks for validity without any native error popup message */ checkValidity(): boolean; /** * Returns the ValidityState object */ get validity(): ValidityState; /** * Returns the validation message based on the ValidityState */ get validationMessage(): string; /** * checkbox requries a custom _mixinResetFormControl as the update of input value * requires to fire a reset event manually * */ private _mixinResetFormControl; /** * when input value is set programatically, need to manually dispatch a change event * In order to prevent race conditions and ensure sequence of events, set input's value here instead of binding to value prop of input */ private _updateInputValue; render(): import("lit").TemplateResult<1>; } export default SgdsCheckboxGroup;