import React from 'react';
export declare type ButtonAppearance = 'default' | 'base' | 'secondary' | 'unstyled' | 'outline';
export declare type BaseButtonProps = {
    href?: string;
    external?: boolean;
    appearance?: ButtonAppearance;
    disabled?: boolean;
    className?: string;
};
export declare type ButtonProps = BaseButtonProps & React.HTMLProps<HTMLButtonElement | HTMLAnchorElement> & {
    text: string | JSX.Element;
    onClick?: (e: any) => any;
};
export declare type SubmitButtonProps = BaseButtonProps & {
    text: string;
    onClick?: 'submit';
    title?: string;
};
export declare function Button({ text, onClick, href, external, appearance, disabled, className, title, }: ButtonProps | SubmitButtonProps): JSX.Element;
