type CheckboxGroupValue = string[]; type CheckboxGroupValueChangeDetails = { readonly checked: boolean; readonly checkboxValue: string; readonly event?: Event; readonly isCanceled: boolean; readonly previousValue: CheckboxGroupValue; readonly reason: "checkbox-change" | "imperative-action"; readonly value: CheckboxGroupValue; cancel(): void; }; type CheckboxGroupOptions = { defaultValue?: CheckboxGroupValue; disabled?: boolean; name?: string; onValueChange?: (details: CheckboxGroupValueChangeDetails) => void; value?: CheckboxGroupValue; }; type CheckboxGroupSetValueOptions = { emit?: boolean; }; type CheckboxGroupInstance = { readonly root: HTMLElement; destroy(): void; getValue(): CheckboxGroupValue; refresh(): void; setDisabled(disabled: boolean): void; setName(name?: string): void; setValue(value: CheckboxGroupValue, options?: CheckboxGroupSetValueOptions): void; subscribe(event: "valueChange", callback: (details: CheckboxGroupValueChangeDetails) => void): () => void; }; declare function createCheckboxGroup(root: HTMLElement, options?: CheckboxGroupOptions): CheckboxGroupInstance; export { type CheckboxGroupInstance, type CheckboxGroupOptions, type CheckboxGroupSetValueOptions, type CheckboxGroupValue, type CheckboxGroupValueChangeDetails, createCheckboxGroup };