import React, { ForwardRefExoticComponent } from 'react'; import { BackgroundProps, BorderProps, ColorProps, FlexboxProps, LayoutProps, SpaceProps, TypographyProps } from 'styled-system'; import { TextTransformProps, WhiteSpaceProps } from '../lib/styled-system-custom-properties'; import { ButtonSize, ButtonStyle } from '../lib/theme/variants/button'; export type StyledButtonProps = BackgroundProps & BorderProps & FlexboxProps & LayoutProps & SpaceProps & TypographyProps & ColorProps & TextTransformProps & WhiteSpaceProps & Omit, 'as'> & { buttonStyle?: ButtonStyle; buttonSize?: ButtonSize; loading?: boolean; asLink?: boolean; isBorderless?: boolean; type?: 'button' | 'submit' | 'reset'; truncateOverflow?: boolean; as?: any; 'data-cy'?: string; }; declare const StyledButton: ForwardRefExoticComponent; /** @component */ export default StyledButton;