/**
* @usevyre/react — ButtonGroup
*
* AI CONTEXT:
* ┌─────────────────────────────────────────────────────────┐
* │ Component: ButtonGroup │
* │ Import: import { ButtonGroup } from "@usevyre/react"│
* │ │
* │ Props: │
* │ orientation = "horizontal"(default)|"vertical" │
* │ attached = boolean (default: false) │
* │ If true, buttons share borders (no gap) │
* │ size = "sm"|"md"|"lg"|"icon" │
* │ Propagated to children via data-size attr │
* │ │
* │ Semantics: role="group" wrapper div │
* └─────────────────────────────────────────────────────────┘
*
* @example
* // Horizontal toolbar
*
*
*
*
*
*
* // Attached segmented control
*
*
*
*
*
*
* // Vertical stack
*
*
*
*
*/
import React from "react";
import type { Size, BaseProps } from "../../types";
export interface ButtonGroupProps extends React.HTMLAttributes, BaseProps {
/** Layout direction of grouped buttons */
orientation?: "horizontal" | "vertical";
/** Remove gap — buttons share collapsed borders */
attached?: boolean;
/** Size forwarded to child buttons via data-group-size attribute */
size?: Size;
}
export declare const ButtonGroup: React.ForwardRefExoticComponent>;