import { ButtonHTMLAttributes, ReactNode, default as React } from 'react';
export type Variant = 'primary' | 'secondary' | 'tertiary';
export type Size = 'small' | 'regular';
export type IconPosition = 'left' | 'right';
export interface ButtonProps extends ButtonHTMLAttributes {
/**
* ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
*/
testId?: string;
/**
* Specifies the component color variant.
*/
variant?: Variant;
/**
* Specifies the size variant.
*/
size?: Size;
/**
* Defines the use of inverted colors.
*/
inverse?: boolean;
/**
* Specifies that this button should be disabled.
*/
disabled?: boolean;
/**
* A React component that will be rendered as an icon.
*/
icon?: ReactNode;
/**
* Boolean that represents a loading state.
*/
loading?: boolean;
/**
* Specifies a label for loading state.
*/
loadingLabel?: string;
/**
* Specifies where the icon should be positioned
*/
iconPosition?: IconPosition;
}
declare const Button: React.ForwardRefExoticComponent>;
export default Button;
//# sourceMappingURL=Button.d.ts.map