import { ButtonHTMLAttributes, ReactNode } from 'react';
import { ThemeUIStyleObject } from 'theme-ui';
export declare type ButtonProps = {
    variant: 'primary' | 'secondary' | 'tertiary';
    status?: 'loading' | 'error' | 'success';
    text: ReactNode;
    icon?: ReactNode;
    toolTip?: string;
    titleToolTip?: string;
    width?: number | string | number[] | string[];
    sxPassthrough?: ThemeUIStyleObject;
} & ButtonHTMLAttributes<HTMLButtonElement>;
/** @deprecated Use `NewGDSButton`. */
export declare const Button: import("react").ForwardRefExoticComponent<{
    variant: 'primary' | 'secondary' | 'tertiary';
    status?: 'loading' | 'error' | 'success';
    text: ReactNode;
    icon?: ReactNode;
    toolTip?: string;
    titleToolTip?: string;
    width?: number | string | number[] | string[];
    sxPassthrough?: ThemeUIStyleObject;
} & ButtonHTMLAttributes<HTMLButtonElement> & import("react").RefAttributes<HTMLButtonElement>>;
