import * as React from "react";

/** Square, single-glyph icon control for nav toggles, close buttons and inline actions. */
export interface IconButtonProps extends React.HTMLAttributes<HTMLElement> {
  children?: React.ReactNode;
  /** Accessible label (also the tooltip). */
  label?: string;
  /** @default "ghost" */
  variant?: "ghost" | "solid" | "soft";
  /** @default "md" */
  size?: "sm" | "md" | "lg";
  href?: string;
  disabled?: boolean;
  style?: React.CSSProperties;
}

export function IconButton(props: IconButtonProps): JSX.Element;
