import { ButtonBaseProps } from '../ButtonBase'; import { FC } from 'react'; import { IconProps } from '../Icon'; export interface IconButtonProps extends ButtonBaseProps { /** * Disables the button, preventing user interaction. * Also applies a visually disabled state. */ disabled?: boolean; /** * Specifies the native HTML button type. * * - 'button': Default button behavior * - 'submit': Submits a form * - 'reset': Resets a form */ type?: 'button' | 'submit' | 'reset'; /** * Size of the button container. * Controls padding and overall clickable area. */ size?: 'small' | 'medium' | 'large'; /** * Size of the icon rendered inside the button. * Inherits from the `IconProps['size']` type. */ iconSize?: IconProps['size']; /** * When true, renders the button as a child component using `Slot` (e.g., from Radix UI). * Enables polymorphic rendering — useful for making the button act as a link or custom tag. */ asChild?: boolean; /** * Custom class name for styling the IconButton container. */ className?: string; } /** Primary UI component for user interaction */ export declare const IconButton: FC;