import type { MouseEventHandler, KeyboardEventHandler } from 'react'; import type { BaseProps, ForwardRefForwardPropsComponent, NoChildrenProp, OmitStrict, TestIdProp } from '../../types'; import type { ButtonProps } from '../Button'; import type { PopoverProps } from '../Popover'; import type { MenuProps } from '../Menu/Menu.types'; import type { CountProps } from '../Badges/Count'; export interface MenuButtonProps extends BaseProps, NoChildrenProp, TestIdProp { /** The text for the MenuButton also used to set the aria-label. */ text: string; /** * Determines the Button variant for the MenuButton. * @default 'secondary' */ variant?: ButtonProps['variant']; /** The name of the icon for the MenuButton. */ icon?: string; /** Only display the icon. The text prop will be forwarded to a tooltip. */ iconOnly?: ButtonProps['icon']; /** The total count representing the list data which was selected. */ count?: CountProps['children']; /** The click handler for the MenuButton. */ onClick?: MouseEventHandler; /** Menu related props. */ menu?: MenuProps; /** Popover related props. */ popover?: OmitStrict; /** DOM id for the button element. */ id?: string; /** Ref for the button element. */ ref?: ButtonProps['ref']; /** The keydown handler for the MenuButton. */ onKeyDown?: KeyboardEventHandler; /** Whether to display an arrow when only the icon is displayed. */ showArrow?: boolean; } export declare const StyledMenuButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit, HTMLButtonElement>, never>> & string; declare const _default: ForwardRefForwardPropsComponent & { getTestIds: (testIdProp?: TestIdProp["testId"]) => import("../../types").TestIdsRecord; }; export default _default; //# sourceMappingURL=MenuButton.d.ts.map