import type { ReactElement, HTMLAttributes, Ref } from "react"; import type SlButtonGroupElement from "@shoelace-style/shoelace/dist/components/button-group/button-group.js"; export type { SlButtonGroupElement }; export interface SlButtonGroupProps extends HTMLAttributes { ref?: Ref; /** * A label to use for the button group. This won't be displayed on the screen, but it will be announced by assistive * devices when interacting with the control and is strongly recommended. */ label?: string; } /** * Button groups can be used to group related buttons into sections. */ export default function SlButtonGroup( props: SlButtonGroupProps, ): ReactElement;