/** `primary` is the one action a view leads to; `secondary` sits beside it; * `outline` and `ghost` are toolbar and inline actions, bordered or not; * `danger` confirms what can't be undone; `danger-outline` is a destructive * action that isn't the view's confirmation, such as Revoke or Disable on a row. */ export type ButtonVariant = 'primary' | 'secondary' | 'outline' | 'ghost' | 'danger' | 'danger-outline'; /** `md` (32px) lines up with inputs and is the default; `lg` (40px) is for a * standalone page's one action, such as signing in or approving a device. * Each is a minimum: a label wider than the space it has wraps and the * button grows, instead of spilling out at 320px or under user text spacing * (WCAG 1.4.10, 1.4.12). */ export type ButtonSize = 'xs' | 'sm' | 'md' | 'lg'; export interface ButtonStyle { variant?: ButtonVariant | undefined; size?: ButtonSize | undefined; /** A square holding only an icon. */ iconOnly?: boolean | undefined; } /** The one look for anything pressed: a button, or a link or popup trigger * that acts as one. `Button` and `IconButton` apply it; use it directly on a * host link or another component's trigger. Outline and ghost read as * selected for a pressed toggle (`aria-pressed`), an open popup's trigger * (`data-popup-open`, which Base UI triggers set), or a button that shows its * state some other way, such as by its label (`data-selected`). */ export declare function buttonClasses({ variant, size, iconOnly, }?: ButtonStyle): string;