import { ButtonHTMLAttributes, HTMLAttributes, ReactNode } from 'react';
import { IconName } from '../Icon';
export type ButtonGroupType = 'default' | 'borderless';
export type SelectionValue = string | Set;
/** Props for each button in the group. When `iconOnly` is true, set `aria-label` on each option. */
export interface ButtonGroupElementProps extends Omit, 'children'> {
value: string;
label?: ReactNode;
icon?: IconName;
}
/** When `iconOnly` is true, provide `aria-label` on the group and each option. */
export interface ButtonGroupProps extends Omit, 'onClick'> {
options: Array;
selected?: SelectionValue;
defaultSelected?: SelectionValue;
onClick?: (value: string, selected: SelectionValue) => void;
fillWidth?: boolean;
type?: ButtonGroupType;
iconOnly?: boolean;
multiple?: boolean;
}