import { ButtonProps } from '../Button'; import { ToolbarItemAppearance, WithAriaLabelEnforcement } from './types'; import { DataTrackingId } from '../../types'; /** * Base props for the ToolbarButton component * @extends Omit */ type ToolbarButtonBaseProps = Omit & { /** * Visual appearance of the button * @default ghost */ appearance?: ToolbarItemAppearance; /** * Click event handler for the button */ onClick: ButtonProps["onClick"]; }; /** * Props for the ToolbarButton component * @extends WithAriaLabelEnforcement */ export type ToolbarButtonProps = WithAriaLabelEnforcement & DataTrackingId; /** * ToolbarButton component for standard clickable actions within a toolbar. * * Features: * - Designed specifically for toolbar integration * - Consistent styling with other toolbar items * - Automatic tooltip for icon-only buttons * - Overflow menu support * - Accessibility enforcement for aria-labels * - Ghost and primary appearance options * * @example * * * @example * * Save * */ export declare const ToolbarButton: import('react').ForwardRefExoticComponent>; export {};