import type { ButtonBaseProps } from '@fluentui/react-button'; import type { ComponentProps } from '@fluentui/react-utilities'; import type { ComponentState } from '@fluentui/react-utilities'; import type { ForwardRefComponent } from '@fluentui/react-utilities'; import { MenuButtonBaseProps } from '@fluentui/react-button'; import type * as React_2 from 'react'; import { renderSplitButton_unstable as renderSplitButton } from '@fluentui/react-button'; import type { Slot } from '@fluentui/react-utilities'; import type { SplitButtonBaseProps } from '@fluentui/react-button'; import type { SplitButtonBaseSlots } from '@fluentui/react-button'; import type { SplitButtonBaseState } from '@fluentui/react-button'; /** * A button component that can be rendered as another tag or focusable when disabled. */ declare const Button: ForwardRefComponent; /** * Button component props */ declare type ButtonProps = ButtonBaseProps; /** * A button that opens a menu, indicated by a chevron icon. */ declare const MenuButton: ForwardRefComponent; export { renderSplitButton } /** * SplitButtons are a grouping of two interactive surfaces where interacting with the first one triggers a primary * action, while interacting with the second one opens a menu with secondary actions. */ export declare const SplitButton: ForwardRefComponent; /** * SplitButton props */ export declare type SplitButtonProps = ComponentProps & Pick; export declare type SplitButtonSlots = Omit & { menuButton?: Slot; primaryActionButton?: Slot; }; /** * State used in rendering SplitButton */ export declare type SplitButtonState = ComponentState & Pick; /** * Returns the state for a SplitButton component, given its props and ref. * * Composes base behavior with headless Button and MenuButton slots without adding * SplitButton-level styling or state attributes. */ export declare const useSplitButton: (props: SplitButtonProps, ref: React_2.Ref) => SplitButtonState; export { }