import { FunctionComponent, HTMLProps, ReactNode, ReactType } from 'react'; import { OneOf } from '../../typeUtils'; export const ButtonVariant: { primary: 'primary'; secondary: 'secondary'; tertiary: 'tertiary'; danger: 'danger'; link: 'link'; plain: 'plain'; }; export const ButtonType: { button: 'button'; submit: 'submit'; }; export interface ButtonProps extends HTMLProps { children?: ReactNode; component?: ReactType; isActive?: boolean; isBlock?: boolean; isDisabled?: boolean; isFocus?: boolean; isHover?: boolean; variant?: OneOf; type?: OneOf; } declare const Button: FunctionComponent; export default Button;