import type { ButtonHTMLAttributes, ReactNode } from 'react';
import type { SxProp } from '../Layout/sx.js';
import type { ButtonColor, ButtonSize, ButtonVariant } from './Button.types.js';
export type FABPosition = 'static' | 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
type FABVariant = Extract;
type MotionIncompatible = 'onAnimationStart' | 'onAnimationEnd' | 'onAnimationIteration' | 'onTransitionEnd' | 'onDrag' | 'onDragStart' | 'onDragEnd' | 'onDragEnter' | 'onDragLeave' | 'onDragOver' | 'onDragExit' | 'onDrop';
type BaseFABProps = Omit, 'children' | MotionIncompatible> & {
variant?: FABVariant;
color?: ButtonColor;
size?: Exclude | 'md';
position?: FABPosition;
disableRipple?: boolean;
/** Icon element. Required. */
icon: ReactNode;
/** Text label. When provided, FAB becomes the extended pill variant. */
label?: ReactNode;
/** Control mount. When false, FAB exits with a spring shrink via motion. */
open?: boolean;
/** One-off CSS, same as `Box`'s `sx` (scalar or responsive `{ base, sm, md, lg, xl }` map). */
sx?: SxProp;
};
type FABWithLabel = BaseFABProps & {
label: ReactNode;
'aria-label'?: string;
};
type FABIconOnly = BaseFABProps & {
label?: undefined;
'aria-label': string;
};
export type FABProps = FABWithLabel | FABIconOnly;
/**
* Floating Action Button — elevated circular primary action (Material-style).
* Provide `label` for the extended pill variant.
*
* Entrance and exit are animated with `motion`'s spring presets. Pair with
* `open` + `AnimatePresence` at the call site for conditional FABs that exit
* gracefully.
*/
export declare const FAB: import("react").ForwardRefExoticComponent>;
export {};