import React from "react"; import { WidthProps } from "styled-system"; import { SplitButtonProps } from "../split-button"; export interface MultiActionButtonProps extends Omit { /** * @deprecated This prop is deprecated. It will be removed in a future release. * MultiActionButton only supports the primary variant. */ buttonType?: "primary" | "secondary" | "tertiary"; /** * @deprecated This prop is deprecated and has no effect. It will be removed in a future release. * Second text child, renders under main text, only when size is "large" */ subtext?: string; /** * @deprecated This prop is deprecated. It will be removed in a future release. * The component width */ width?: WidthProps["width"]; /** * @deprecated This prop is deprecated. It will be removed in a future release. * Renders the white variant of the secondary split button */ isWhite?: boolean; /** * @deprecated This prop is deprecated. It will be removed in a future release. * Set align of the rendered content */ align?: "left" | "right"; /** Allows override of the default menu width */ menuWidth?: string; /** Apply fullWidth style to the button */ fullWidth?: boolean; } export type MultiActionButtonHandle = { /** Programmatically focus the main button */ focusMainButton: () => void; } | null; export declare const MultiActionButton: React.ForwardRefExoticComponent>; export default MultiActionButton;