/// <reference types="react" />
import { SerializedStyles } from '@emotion/react';
import { ButtonProps as AntDButtonProps } from 'antd';
import { ComponentTheme } from '../../theme';
import { DangerouslySetAntdProps } from '../types';
export declare const getButtonEmotionStyles: ({ theme, classNamePrefix, loading, withIcon, onlyIcon, enableAnimation, size, type, }: {
    theme: ComponentTheme;
    classNamePrefix: string;
    loading?: boolean | undefined;
    withIcon?: boolean | undefined;
    onlyIcon?: boolean | undefined;
    danger?: boolean | undefined;
    enableAnimation: boolean;
    size: ButtonSize | 'ultrasmall';
    type?: string | undefined;
}) => SerializedStyles;
export declare type ButtonSize = 'small' | 'middle';
export interface ButtonProps extends Omit<AntDButtonProps, 'type' | 'ghost' | 'shape' | 'size'>, DangerouslySetAntdProps<AntDButtonProps> {
    type?: 'primary' | 'link' | 'tertiary';
    /**
     * @deprecated Use isCompact={true} on `DesignSystemProvider` instead, see http://go/dubois/density
     */
    size?: ButtonSize;
}
export declare const Button: import("react").ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
//# sourceMappingURL=Button.d.ts.map