import React from "react"; import type { ButtonGroupActionElement } from "./types"; export interface ButtonGroupProps { readonly children: ButtonGroupActionElement | ButtonGroupActionElement[]; /** * Display a cancel button in the secondary bottom sheet footer. */ readonly showCancelInBottomSheet?: boolean; /** * An optional heading to display in the secondary bottom sheet header. */ readonly bottomSheetHeading?: string; /** * Callback that is called when the secondary actions bottom sheet is opened. */ readonly onOpenBottomSheet?: () => void; /** * Callback that is called when the secondary actions bottom sheet is closed. */ readonly onCloseBottomSheet?: () => void; /** * Allows you to Tap the button while offline */ readonly allowTapWhenOffline?: boolean; } export declare function ButtonGroup({ children, showCancelInBottomSheet, bottomSheetHeading, onOpenBottomSheet, onCloseBottomSheet, allowTapWhenOffline, }: ButtonGroupProps): React.JSX.Element; export declare namespace ButtonGroup { var PrimaryAction: typeof import("./ButtonGroupAction").PrimaryAction; var SecondaryAction: typeof import("./ButtonGroupAction").SecondaryAction; }