import { ControlTypeAccent, ControlTypeNegative, ControlTypePositive, PriorityPrimary, PrioritySecondary, PriorityTertiary, SizeExtraSmall, SizeSmall, SizeMedium, SizeLarge } from '../../common';
/** @deprecated */
type DeprecatedTypes = 'primary' | 'pay' | 'secondary' | 'danger' | 'link';
/** @deprecated */
type DeprecatedSizes = SizeExtraSmall;
type CommonProps = {
    block?: boolean;
    disabled?: boolean;
    loading?: boolean;
    /** @deprecated */
    type?: ControlTypeAccent | ControlTypeNegative | ControlTypePositive | DeprecatedTypes | null;
    priority?: PriorityPrimary | PrioritySecondary | PriorityTertiary | null;
    size?: SizeSmall | SizeMedium | SizeLarge | DeprecatedSizes;
};
export type ButtonProps = CommonProps & Omit<React.ComponentPropsWithRef<'button'>, 'type'> & {
    as?: 'button' | undefined;
    /** @deprecated */
    htmlType?: 'submit' | 'reset' | 'button';
};
export type AnchorProps = CommonProps & Omit<React.ComponentPropsWithRef<'a'>, 'type'> & {
    as?: 'a' | undefined;
};
export type Props = ButtonProps | AnchorProps;
export type ButtonReferenceType = HTMLButtonElement | HTMLAnchorElement;
declare const Button: import("react").ForwardRefExoticComponent<(Omit<ButtonProps, "ref"> | Omit<AnchorProps, "ref">) & import("react").RefAttributes<ButtonReferenceType>>;
export default Button;
//# sourceMappingURL=Button.d.ts.map