import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime'; import { ButtonHTMLAttributes } from 'react'; import { SharedButtonProps } from './@types/SharedButtonProps.js'; interface ButtonProps extends SharedButtonProps, ButtonHTMLAttributes { } /** * [Storybook](https://guardian.github.io/storybooks/?path=/story/source_react-components-button--primary-priority-default-theme) • * [Design System](https://theguardian.design/2a1e5182b/p/435225-button) • * [GitHub](https://github.com/guardian/csnx/tree/main/libs/@guardian/source/src/react-components/button/Button.tsx) • * [NPM](https://www.npmjs.com/package/@guardian/source) * * Buttons enable users to make choices or perform actions. * */ declare const Button: ({ priority, size, icon: iconSvg, iconSide, hideLabel, nudgeIcon, type, isLoading, loadingAnnouncement, cssOverrides, children, theme, ...props }: ButtonProps) => _emotion_react_jsx_runtime.JSX.Element; export { Button }; export type { ButtonProps };