import { Ref, AnchorHTMLAttributes } from 'react'; import { Box, PropsBox } from './Button.styles'; import { Breakpoints } from '../Utils/responsiveness'; import { BoxStyled } from '../Utils/styled'; export declare const defaultButtonTestId: ButtonTestId; export type ButtonDesign = 'primary' | 'accent' | 'critical' | 'outline' | 'outline-critical' | 'ghost' | 'ghost-accent' | 'white' | 'ghost-white' | 'neutral'; export interface ButtonTestId { button?: string; spinner?: string; } export interface ButtonProps extends BoxStyled, Pick, 'referrerPolicy' | 'download' | 'rel' | 'href' | 'target'> { /** Дизайн */ design?: PropsBox['$design']; /** Размеры */ size?: PropsBox['$size']; grid?: PropsBox['$grid']; square?: PropsBox['$square']; pressed?: PropsBox['$pressed']; loading?: PropsBox['$loading']; disabled?: PropsBox['$disabled']; forwardedRef?: Ref; testId?: ButtonTestId; } export declare const Button: (p: ButtonProps) => JSX.Element;