import React from 'react'; import type { BaseProps } from '../component-helpers'; import { ButtonProps } from '../Button'; export type PrimerBrandButtonType = React.ReactElement>>; export type ButtonGroupProps = BaseProps & { children: PrimerBrandButtonType[] | PrimerBrandButtonType; buttonSize?: ButtonProps<'button' | 'a'>['size']; buttonsAs?: 'button' | 'a'; }; export declare const ButtonGroup: React.ForwardRefExoticComponent & React.RefAttributes>;