import React from 'react'; import { MarginProps } from 'styled-system'; import { AsProps, GenericComponent } from '../helpers/asProps'; export declare type ButtonVariants = 'standard' | 'action' | 'danger' | 'warning' | 'success'; interface ButtonProps extends MarginProps { variant?: ButtonVariants; /** !important */ disabled?: boolean; inverse?: boolean; loading?: boolean; loadingText?: string; type?: 'submit' | 'reset' | 'button'; } declare function ButtonFunc(props: AsProps & ButtonProps, ref: React.Ref): React.ReactElement; export declare const Button: typeof ButtonFunc; export default Button;