import { type ComponentPropsWithoutRef } from 'react'; type ButtonVariant = 'primary' | 'secondary' | 'danger' | 'info' | 'success'; type ButtonOutlineVariant = ButtonVariant | 'theme'; type ButtonSize = 'sm' | 'md' | 'lg'; type ButtonBaseProps = ComponentPropsWithoutRef<'button'> & { asChild?: boolean; size?: ButtonSize; }; type ButtonFilledProps = ButtonBaseProps & { outline?: false; variant?: ButtonVariant; }; type ButtonOutlineProps = ButtonBaseProps & { outline: true; variant?: ButtonOutlineVariant; }; type ButtonProps = ButtonFilledProps | ButtonOutlineProps; declare function Button({ asChild, children, className, disabled, onClick, outline, type, variant, size, ...props }: ButtonProps): import("react/jsx-runtime").JSX.Element; export type { ButtonOutlineVariant, ButtonProps, ButtonSize, ButtonVariant }; export default Button;