/** * Copyright 2026 Adobe. All rights reserved. * This file is licensed to you under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. You may obtain a copy * of the License at http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS * OF ANY KIND, either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ import { ActionButton } from '@spectrum-web-components/action-button'; import { CSSResultArray, PropertyValues, SpectrumElement, TemplateResult } from '@spectrum-web-components/base'; import { RovingTabindexController } from '@spectrum-web-components/reactive-controllers/src/RovingTabindex.js'; declare const ActionGroup_base: typeof SpectrumElement & import("@spectrum-web-components/base").Constructor & import("@spectrum-web-components/base").SizedElementConstructor; /** * @element sp-action-group * @slot - the sp-action-button elements that make up the group * * @fires change - Announces that selection state has been changed by user */ export declare class ActionGroup extends ActionGroup_base { static shadowRootOptions: { delegatesFocus: boolean; clonable?: boolean; customElementRegistry?: CustomElementRegistry; mode: ShadowRootMode; serializable?: boolean; slotAssignment?: SlotAssignmentMode; }; static get styles(): CSSResultArray; set buttons(buttons: ActionButton[]); get buttons(): ActionButton[]; _buttons: ActionButton[]; protected _buttonSelector: string; constructor(); rovingTabindexController: RovingTabindexController; compact: boolean; /** * @deprecated The `emphasized` property is deprecated and will be removed * in a future release. */ set emphasized(value: boolean); get emphasized(): boolean; private _emphasized; justified: boolean; label: string; quiet: boolean; /** * @deprecated The `selects` property is deprecated and will be removed in * a future release. Selection UX will be available via `swc-toggle-button-group` * (toggle and multi-select) and `swc-segmented-control` (exclusive choice) * in the gen2 library. */ set selects(value: undefined | 'single' | 'multiple'); get selects(): undefined | 'single' | 'multiple'; private _selects; staticColor?: 'white' | 'black'; /** * @deprecated The `vertical` attribute is deprecated and will be removed in * a future release. Use `orientation="vertical"` on `swc-action-group` * instead. */ set vertical(value: boolean); get vertical(): boolean; private _vertical; private _selected; /** * @deprecated The `selected` property is deprecated and will be removed in * a future release. Selection UX is available via `swc-toggle-button-group` * (toggle and multi-select) and `swc-segmented-control` (exclusive choice) * in the gen2 library. */ set selected(selected: string[]); get selected(): string[]; slotElement: HTMLSlotElement; private dispatchChange; private setSelected; focus(options?: FocusOptions): void; private deselectSelectedButtons; private handleActionButtonChange; private handleClick; private applySelects; private manageSelects; protected render(): TemplateResult; protected firstUpdated(changes: PropertyValues): void; protected updated(changes: PropertyValues): void; private manageChildren; private hasManaged; private manageButtons; } export {};