import { default as React, AnchorHTMLAttributes, ButtonHTMLAttributes, ElementType } from 'react'; import { EIconName } from '../Icon'; type Size = 'sm' | 'lg'; type BaseButtonProps = { inverted?: boolean; /** Grey, no underline; takes the primary treatment on hover (designer note 2026-07-10). */ muted?: boolean; size?: Size; as?: ElementType; prefixIcon?: EIconName; suffixIcon?: EIconName; hideOn?: 'mobile' | 'desktop'; }; export type TextButtonProps = BaseButtonProps & ButtonHTMLAttributes & AnchorHTMLAttributes; export declare const TextButton: ({ size, as: Component, disabled, inverted, muted, children, prefixIcon, suffixIcon, hideOn, ...props }: TextButtonProps) => React.JSX.Element; export {};