/**
 * @jsxRuntime classic
 * @jsx jsx
 */
import React from 'react';
import type { ButtonProps } from '@atlaskit/button/types';
import type { PositionType } from '@atlaskit/tooltip';
import type { TOOLBAR_ACTION_SUBJECT_ID } from '../../analytics';
import type { Keymap } from '../../keymaps';
import type { MenuItem } from '../DropdownMenu/types';
export type Props = {
    'aria-expanded'?: React.AriaAttributes['aria-expanded'];
    'aria-haspopup'?: React.AriaAttributes['aria-haspopup'];
    'aria-keyshortcuts'?: React.AriaAttributes['aria-keyshortcuts'];
    'aria-label'?: React.AriaAttributes['aria-label'];
    'aria-pressed'?: React.AriaAttributes['aria-pressed'];
    buttonId?: TOOLBAR_ACTION_SUBJECT_ID;
    className?: string;
    'data-ds--level'?: string;
    disabled?: boolean;
    hideTooltip?: boolean;
    href?: string;
    iconAfter?: React.ReactElement<any>;
    iconBefore?: React.ReactElement<any>;
    item?: MenuItem;
    keymap?: Keymap;
    onClick?: (event: React.MouseEvent<HTMLElement>) => void;
    onItemClick?: (item: MenuItem) => void;
    onKeyDown?: (event: React.KeyboardEvent<HTMLElement>) => void;
    selected?: boolean;
    spacing?: 'default' | 'compact' | 'none';
    target?: string;
    testId?: string;
    title?: React.ReactNode;
    titlePosition?: PositionType;
} & Pick<ButtonProps, 'aria-label' | 'children' | 'onFocus' | 'onBlur' | 'onMouseEnter' | 'onMouseLeave' | 'aria-controls' | 'rel'>;
export type ToolbarButtonRef = HTMLElement;
declare const ToolbarButton: React.ForwardRefExoticComponent<{
    'aria-expanded'?: React.AriaAttributes['aria-expanded'];
    'aria-haspopup'?: React.AriaAttributes['aria-haspopup'];
    'aria-keyshortcuts'?: React.AriaAttributes['aria-keyshortcuts'];
    'aria-label'?: React.AriaAttributes['aria-label'];
    'aria-pressed'?: React.AriaAttributes['aria-pressed'];
    buttonId?: TOOLBAR_ACTION_SUBJECT_ID;
    className?: string;
    'data-ds--level'?: string;
    disabled?: boolean;
    hideTooltip?: boolean;
    href?: string;
    iconAfter?: React.ReactElement<any>;
    iconBefore?: React.ReactElement<any>;
    item?: MenuItem;
    keymap?: Keymap;
    onClick?: (event: React.MouseEvent<HTMLElement>) => void;
    onItemClick?: (item: MenuItem) => void;
    onKeyDown?: (event: React.KeyboardEvent<HTMLElement>) => void;
    selected?: boolean;
    spacing?: 'default' | 'compact' | 'none';
    target?: string;
    testId?: string;
    title?: React.ReactNode;
    titlePosition?: PositionType;
} & Pick<ButtonProps, 'children' | 'rel' | 'aria-controls' | 'aria-label' | 'onFocus' | 'onBlur' | 'onMouseEnter' | 'onMouseLeave'> & React.RefAttributes<HTMLElement>>;
export default ToolbarButton;
