import { ComponentWrapper, ElementWrapper } from '@cloudscape-design/test-utils-core/dom'; import ButtonWrapper from '../button/index.js'; import ButtonDropdownWrapper from '../button-dropdown/index.js'; import FileInputWrapper from '../file-input/index.js'; import ToggleButtonWrapper from '../toggle-button/index.js'; export default class ButtonGroupWrapper extends ComponentWrapper { static rootSelector: string; /** * Finds all button and menu items. */ findItems(): Array; /** * Finds a button item by its id. */ findButtonById(id: string): null | ButtonWrapper; /** * Finds a toggle button item by its id. */ findToggleButtonById(id: string): null | ToggleButtonWrapper; /** * Finds a file input item by its id. */ findFileInputById(id: string): null | FileInputWrapper; /** * Finds a menu item by its id. */ findMenuById(id: string): null | ButtonDropdownWrapper; /** * Finds the currently opened tooltip. */ findTooltip(): null | ElementWrapper; }