import { type VariantProps } from "class-variance-authority";
declare const buttonVariants: (props?: ({
    variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
    size?: "default" | "sm" | "lg" | "icon" | null | undefined;
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
export interface ButtonProps extends JSX.HTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
    isLoading?: boolean;
}
declare const Button: import("preact").FunctionalComponent<import("preact/compat").PropsWithoutRef<ButtonProps> & {
    ref?: import("preact").Ref<HTMLButtonElement> | undefined;
}>;
export { Button, buttonVariants };
