import * as React from 'react'; import { ComponentProps } from 'react'; import * as class_variance_authority_types from 'class-variance-authority/types'; import { VariantProps } from 'class-variance-authority'; /** * Button — WealthX Design System * Figma: https://www.figma.com/design/9V9F0NGVsif8LGmEhVjOcT/Design-System---shadcn?node-id=72-2719 * * Base: official shadcn new-york button (npx shadcn\@latest add button) * WealthX overrides: variants, square corners, font-sans, loading state */ declare const buttonVariants: (props?: ({ variant?: "link" | "default" | "secondary" | "destructive" | "outline" | "ghost" | "outline-primary" | "outline-secondary" | null | undefined; size?: "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined; } & class_variance_authority_types.ClassProp) | undefined) => string; type ButtonProps = ComponentProps<"button"> & VariantProps & { asChild?: boolean; /** Shows spinner and disables the button. Icon-only sizes hide the icon. */ loading?: boolean; }; declare const Button: React.ForwardRefExoticComponent & React.RefAttributes>; export { Button, type ButtonProps, buttonVariants };