import { default as React } from 'react'; import { IconStringList } from '../../Icons/Icon.models'; import { MenuProps } from '../../Menu/Menu'; import { PopoverProps } from '../../Popover/Popover'; import { TooltipProps } from '../../Tooltip/Tooltip'; import { ButtonProps } from '../Button.models'; type ActionProps = { actions: MenuProps['actions']; disabled?: boolean; onClick?: never; /** Optional tooltip configuration for the action button */ tooltip?: Omit; confirmation?: never; children?: never; placement?: PopoverProps['position']; /** Optionally override the default "options" icon for the action button */ actionIcon?: IconStringList; /** Optional prop to add a test id to the ButtonGroup for QA testing */ qaTestId?: string; }; type StandardButtonProps = ButtonProps & { actions?: never; placement?: never; actionIcon?: never; }; type StyleType = 'primary' | 'primary-black' | 'primary-blue' | 'primary-green' | 'primary-red' | 'secondary'; export type ButtonGroupProps = { /** This is an array of 2 or 3 buttons. You can choose to have a mix of Icon buttons, an Action button, and a standard Button. */ buttons: Array; /** Optionally disable the entire ButtonGroup */ disabled?: boolean; /** The styleType prop is a subset of the original Button style types. */ styleType?: StyleType; /** Use this prop to apply destructive (red) styling to the entire ButtonGroup */ destructive?: boolean; /** Optional prop to add a test id to the ButtonGroup for QA testing */ qaTestId?: string; }; declare const ButtonGroup: ({ buttons, disabled, styleType, destructive, qaTestId, }: ButtonGroupProps) => React.JSX.Element; export default ButtonGroup;