import * as React from 'react'; import { Tooltip } from '../Tooltip/Tooltip.js'; import type { ButtonProps } from './Button.js'; import type { PolymorphicForwardRefComponent } from '../../utils/index.js'; export type IconButtonProps = { /** * Button gets active style. * @default false */ isActive?: boolean; /** * Name of the button, shown in a tooltip and exposed to assistive technologies. */ label?: React.ReactNode; /** * Props passed to the Tooltip that contains the `label`. * Can be used for customizing the tooltip's `placement`, etc. */ labelProps?: Omit, 'content' | 'reference' | 'ariaStrategy' | 'children'>; /** * Passes props to IconButton icon. */ iconProps?: React.ComponentProps<'span'>; /** * @deprecated Use `label` instead. */ title?: string; } & Omit; /** * Icon button * @example * * @example * */ export declare const IconButton: PolymorphicForwardRefComponent<"button", IconButtonProps>;