import * as class_variance_authority_types from 'class-variance-authority/types'; import * as React from 'react'; import { VariantProps } from 'class-variance-authority'; declare const buttonVariants: (props?: ({ variant?: "link" | "primary" | "secondary" | "action" | "success" | "warning" | "danger" | "info" | "light" | "dark" | "accent" | "destructive" | "muted" | "ghost" | null | undefined; size?: "xs" | "sm" | "default" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | "compact-xs" | "compact-sm" | "compact-default" | "compact-lg" | "compact-icon" | null | undefined; appearance?: "solid" | "outline" | "outline-filled" | null | undefined; loading?: boolean | null | undefined; } & class_variance_authority_types.ClassProp) | undefined) => string; type VariantType = NonNullable['variant']>; type SizeType = NonNullable['size']>; type VariantStyleType = NonNullable['appearance']>; interface ButtonProps extends Omit, 'size'>, VariantProps { asChild?: boolean; icon?: React.ReactNode; iconPosition?: 'left' | 'right'; } declare const Button: React.ForwardRefExoticComponent>; export { Button, type ButtonProps, type SizeType, type VariantStyleType, type VariantType, buttonVariants };