import React from 'react'; import type { CommonComponentProps } from '../types'; import type { GetRef } from '../utils/refs'; import type { BuiltInTooltipConfig } from './tooltip/types'; interface CommonButtonProps extends CommonComponentProps { 'aria-controls'?: string; 'aria-expanded'?: React.AriaAttributes['aria-expanded']; 'aria-pressed'?: boolean; className?: string; children?: React.ReactNode; disabled?: boolean; getRef?: GetRef; id?: string; linkComponent?: 'a' | React.ComponentType; linkProps?: Record; name?: string; onBlur?: React.FocusEventHandler; onClick?: React.MouseEventHandler; onFocus?: React.FocusEventHandler; onMouseDown?: React.MouseEventHandler; onMouseEnter?: React.MouseEventHandler; onMouseLeave?: React.MouseEventHandler; onMouseUp?: React.MouseEventHandler; refProp?: string; style?: React.CSSProperties; tabIndex?: number; tooltipConfig?: BuiltInTooltipConfig; title?: string; type?: 'button' | 'submit'; } /** * Wrapper for the `BaseCommonButton` component that enables optionally rendering the button * within a TooltipContainer if `tooltipConfig` is provided in props */ export declare function CommonButton({ disabled, tooltipConfig, getRef, refProp, ...rest }: CommonButtonProps): React.JSX.Element; export {};