import * as React from 'react'; import { AIButtonSize, BaseAIButtonProps } from '.'; export interface StyledAIButtonProps extends BaseAIButtonProps { iconOnly?: boolean; trailingIcon?: React.ReactElement; leadingIcon?: boolean | React.ReactElement; } export declare function getIconSize(size: any, theme: any): any; export interface SpanProps { hasIconLeading?: boolean; size?: AIButtonSize; } export declare const StyledAIButton: React.ForwardRefExoticComponent>;