import * as React from 'react'; import { ThemeInterface } from '../../theme/magma'; import { ButtonColor, ButtonSize, ButtonVariant, ButtonTextTransform } from '../Button'; export declare enum ButtonGroupAlignment { left = "left", center = "center", right = "right", apart = "apart", fill = "fill" } export declare enum ButtonGroupOrientation { horizontal = "horizontal", vertical = "vertical" } declare type ButtonGroupElement = HTMLDivElement | HTMLUListElement; export interface ButtonGroupProps extends React.HTMLAttributes { /** * @children required */ children: React.ReactNode; /** * Alignment of the dropdown content * @default ButtonGroupAlignment.left */ alignment?: ButtonGroupAlignment; /** * The color of all the buttons in the group * @default ButtonColor.primary */ color?: ButtonColor; /** * Determines if the buttons are displayed vertically or horizontally * @default ButtonGroupOrientation.horizontal */ orientation?: ButtonGroupOrientation; /** * The variant of all the buttons in the group * @default ButtonVariant.solid */ variant?: ButtonVariant; /** * The relative size of all the buttons in the group * @default ButtonSize.medium */ size?: ButtonSize; /** * Whether or not the buttons in the group are spaced out * @default false */ noSpace?: boolean; isInverse?: boolean; /** * @internal */ testId?: string; /** * Determines whether all the buttons in the group appear in all-caps * @default ButtonTextTransform.uppercase */ textTransform?: ButtonTextTransform; /** * @internal */ theme?: ThemeInterface; /** * Renders ButtonGroup as a `