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'; declare const buttonVariants: (props?: ({ variant?: "link" | "destructive" | "primary" | "secondary" | "ghost" | null | undefined; size?: "sm" | "md" | "lg" | null | undefined; icon?: boolean | null | undefined; value?: boolean | null | undefined; } & class_variance_authority_types.ClassProp) | undefined) => string; interface ButtonProps extends Omit, "value">, VariantProps { asChild?: boolean; value?: boolean; } /** * Button component with variant and size styling. * Wraps a native `button` or a child element when `asChild` is true. * * @param variant - Visual style variant (e.g. "primary", "secondary", "destructive", "ghost", "link") * @param size - Control size ("sm" | "md" | "lg") * @param icon - If true, adjusts paddings to present as an icon button * @param asChild - When true, renders the child element instead of a button using Slot */ declare const Button: React.ForwardRefExoticComponent & React.RefAttributes>; export { Button, type ButtonProps, buttonVariants };