import { Button as ButtonPrimitive } from '@base-ui/react'; import { type VariantProps } from 'class-variance-authority'; import { ReactNode } from 'react'; declare const button: (props?: ({ variant?: "text" | "solid" | "outline" | "ghost" | null | undefined; size?: "small" | "normal" | null | undefined; disabled?: boolean | null | undefined; loading?: boolean | null | undefined; color?: "accent" | "danger" | "success" | "neutral" | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; type ButtonProps = VariantProps & ButtonPrimitive.Props & { loading?: boolean; loaderText?: ReactNode; leadingIcon?: ReactNode; trailingIcon?: ReactNode; style?: React.CSSProperties; }; export declare const Button: { ({ className, variant, color, size, disabled, loading, loaderText, leadingIcon, trailingIcon, children, render, ...props }: ButtonProps): import("react/jsx-runtime").JSX.Element; displayName: string; }; export {}; //# sourceMappingURL=button.d.ts.map