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;
    type?: ControlTypeAccent | ControlTypeNegative | ControlTypePositive | DeprecatedTypes | null;
    priority?: PriorityPrimary | PrioritySecondary | PriorityTertiary | null;
    size?: SizeSmall | SizeMedium | SizeLarge | DeprecatedSizes;
};
type ButtonProps = CommonProps & Omit<React.ComponentPropsWithRef<'button'>, 'type'> & {
    as?: 'button';
    htmlType?: 'submit' | 'reset' | 'button';
};
type AnchorProps = CommonProps & Omit<React.ComponentPropsWithRef<'a'>, 'type'> & {
    as?: 'a';
};
export type Props = ButtonProps | AnchorProps;
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