import * as React from "react"; import { Button as ButtonPrimitive } from "@base-ui/react/button"; import { type VariantProps } from "class-variance-authority"; declare const buttonVariants: (props?: ({ variant?: "default" | "outline" | "secondary" | "ghost" | "destructive" | "warning" | "link" | null | undefined; size?: "default" | "xs" | "sm" | "md" | "lg" | "xl" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; export type ButtonProps = ButtonPrimitive.Props & VariantProps & { loading?: boolean; loadingLabel?: string; leftIcon?: React.ReactNode; rightIcon?: React.ReactNode; iconOnly?: boolean; fullWidth?: boolean; pressed?: boolean; labelClassName?: string; }; declare function Button({ className, variant, size, disabled, loading, loadingLabel, leftIcon, rightIcon, iconOnly, fullWidth, pressed, labelClassName, children, "aria-label": ariaLabel, ...props }: ButtonProps): React.JSX.Element; export { Button, buttonVariants };